class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
(This allows overwriting, and deactivates the auto-renaming feature. You need to set up both in order to upload a file and be sure that it will be always overwriting the same file and keep the same filename)Reply
Thanks
To rename a file, use:
To append a string to the filename, use:
To change a file extension:
To force the filename to something specific:
(This allows overwriting, and deactivates the auto-renaming feature. You need to set up both in order to upload a file and be sure that it will be always overwriting the same file and keep the same filename)
I gave the file a new 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?
2. This question is out of scope in this forum
Thank you Colin,
Ben, french new user