I have a website where a user uploads a picture to an uploads folder, and supplies a URL. I then display all the pictures in the folder, and I would like it so that they link to the URL that the user supplied. Anyone know how to do this?
Here’s a basis on my file structure.
-success.php has a form that takes the input from the user. Photographs and URL
-getfile.php is called by the form to process the file upload
-The pictures are displayed on a seperate page called photographs.php
Do I have to post to some type of xml document or something? If so, can you be very specific on how to do this, as I have never worked with xml, and don’t know about creating documents/reading documents. Or is there an easier way than this altogether?
Thanks for any input!