I've been trying to find/make a simple PHP script that'll upload a picture, rename it with a random short name, then display the direct URL if it is successful.
So far, I got to the upload part. It'll upload the picture, but it'll keep the original file name and won't spit out a URL. Just a success message.
Which leads to my question: Does anyone have/know where to find a script that can do such a task?
Thanks :x
EDIT: Well, I figured out how to rename the file after upload. Now I just need a way to show me the URL to the image. xD
So far, I got to the upload part. It'll upload the picture, but it'll keep the original file name and won't spit out a URL. Just a success message.
Which leads to my question: Does anyone have/know where to find a script that can do such a task?
Thanks :x
EDIT: Well, I figured out how to rename the file after upload. Now I just need a way to show me the URL to the image. xD