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.
When I try to rename the body name, using hyphens, the new name of the file is not the same and the hyphens are changed to underscores. Is there a work around for this?
first thanks for this class... I try to rename uploaded images . It isn't usually work sometimes the image uploaded with its name and doesn't changed my code
You mean about the log? Getting the log is only for debugging purposes, and won't affect your code. You can then copy and paste it here so we can see what's happenning.Reply
example:
file stored is "photo_25_photo1.jpg"
or edit the class as following, replacing
with
I used
rather than alter the class and it worked a treat.
I try to rename uploaded images . It isn't usually work sometimes the image uploaded with its name and doesn't changed my code
thanks ...
before
and for what ??
and is this affect my code ??
thanks
You mean about the log? Getting the log is only for debugging purposes, and won't affect your code. You can then copy and paste it here so we can see what's happenning.