Is there any way to upload files from the source link without using form? Suppose, an array contains link of 3 file names.
$array = array('C:\test\a.jpg', 'C:\test\b.doc', 'C:\test\c.txt');
Now i want to upload these 3 files in the web server. How can I do it using PHP?
EDIT:
Actually I am currently working on a website (http://eventconnectbd.com/) where admin has to upload event info with images. A csv file has been created with 100 of image links (all the links are admin’s pc related). So basically I created an array of those image links and want to upload one by one.
No this is impossible.
If you only know the client-paths, your Webserver needs to browse the clients file-system and that’s, of course, not allowed. Imagine: if it were allowed, every Server in the Internet could read all your Files, thats really not desirable.