Hi everyone!
Here is my problem!
- I pass the name and the path of the file to my upload.php
(without using <input type="FILE">)
-In upload.php I d like to upload this file ($POST["filename"]) to my server!
Please note that as I dont use<input type="FILE"> this file info is not stored in $FILES
How can I do it, or how could I upload a file without having to use <input type="FILE">
Here is more description:
I m preparing a website where users upload pictures to the server.
As user selects pictures, their paths are stored into hidden fields using javascript.
When several pictures are selected and form is submitted, the upload.php contains all the paths to the files that need to be uploaded, but obviously varriable $_FILES will be empty.
The question is WHere do I go from here to upload given pictures?
Please help!
Thank you in advance!
Alex