Ok here's the thing, I'm working on a script that parses a csv file and inputs the information into the database. Thats all fine and good and works the way it is supposed to.
The issue is that one of the fields contains a list of images and there local machine address (i.e. c:/mypic.jpg). I have done plenty of file upload scripts for anything that would need to be uploaded but have never come across a way or need to automatically upload an image given its location on the visitors computer.
So my question is, is it even possible to do so and if it is could you explain the steeps needed to do so.
Regards,
Feral
Upload image given local machine address
Started by Feral, Nov 12 2008 02:57 PM
2 replies to this topic
#1
Posted 12 November 2008 - 02:57 PM
|
|
|
#2
Posted 12 November 2008 - 03:15 PM
you can't access someones on the nets drive and get a file, no. you shouldn't be able to atleast
but if they fill in a multipart form and does that kinda file upload, you will get the file ofcourse.
but if they fill in a multipart form and does that kinda file upload, you will get the file ofcourse.
#3
Posted 12 November 2008 - 05:43 PM
That is pretty much what I figured, but It just seemed a little hackish to put a bunch of pre-filled out upload slots into a hidden layer.
Guess it will have to stay with the user having to include the images in the zip file with the csv file. Oh well
Guess it will have to stay with the user having to include the images in the zip file with the csv file. Oh well


Sign In
Create Account


Back to top









