Reply to Rename file

Rename file new!
by Mitchel, 14 years, 2 months ago
Hi.

I rename the file to:
$image_name=time().'.'.$_FILES['image']['name'];
$foo->file_new_name_body = 'small_'.$image_name;

Output is: small_1285240138Afb060222jpg.jpg

how to change that? i just want 1 jpg.
Orginal image name: Afb060222.jpg

And how can i put this name to 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