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.
P.S. I want to use this value in order to create a link to the image. The name of the image is dynamic because it depends on the date when it is submitted and the title of the text that it refers to.
This isn't working:
And this also:
This is the original code:
Are you sure you are not looking for file_dst_name?
Thanx colin!
P.S. I want to use this value in order to create a link to the image. The name of the image is dynamic because it depends on the date when it is submitted and the title of the text that it refers to.
Means that the name of the image is TodaysDateTitleOfTheText.extension
And the link to the image will be /images/TodaysDateTitleOfTheText.extension and that is equal to /images/$handle->file_new_name_body