Reply to Re: Changing the image name

Re: Changing the image name new!
by Mitchel Verschoof, 13 years, 7 months ago
Ok, now.
I gave the file a new name:
$image_name=time().'.'.$_FILES['image']['name'];
$foo->file_new_name_body = 'big_'.$image_name;

2 things:

1. he will rename it to: big_1285020073Afb076jpg.jpg
so thats 2 times jpg, and i just want it one time/

2. How to put the new name in database?Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important