rename attachments

Recommend this page to a friend!

      PHP Email To DB  >  All threads  >  rename attachments  >  (Un) Subscribe thread alerts  
Subject:rename attachments
Summary:rename attachments
Messages:3
Author:Sweet Julia
Date:2015-01-24 14:42:45
 

  1. rename attachments   Reply   Report abuse  
Picture of Sweet Julia Sweet Julia - 2015-01-24 14:42:45
Dear yokemates!

I liked the script. Email to DB. It is great.

But I am in trouble. I can not find out how to rename the attachments when saving them to disk.
Now these files are saved as:
IDfilemane (for example: 25myimage.jpg)

But I need to save them as:
filemame_ID (for example: myimage_25.jpg)
or
filemame_ID_date_time (for example: myimage_25_2015-01-25-12-00.jpg)

Can you please help me.

---------------
Sweet Julia

  2. Re: rename attachments   Reply   Report abuse  
Picture of Bernd Bernd - 2015-05-12 14:33:07 - In reply to message 2 from Sweet Julia
hey , you look nice ..

  3. Re: rename attachments   Reply   Report abuse  
Picture of Sweet Julia Sweet Julia - 2015-01-24 14:42:45
Dear yokemates!

I liked the script. Email to DB. It is great.

But I am in trouble. I can not find out how to rename the attachments when saving them to disk.
Now these files are saved as:
IDfilemane (for example: 25myimage.jpg)

But I need to save them as:
filemame_ID (for example: myimage_25.jpg)
or
filemame_ID_date_time (for example: myimage_25_2015-01-25-12-00.jpg)

Can you please help me.

---------------
Sweet Julia

 

For more information send a message to info at phpclasses dot org.