> Can you get php to upload an image if you have the direct location of the
> file (ie. c:\bar\foo\bar\foobar.jpg), but the only thing is that I am not

No.  Where the file lives on the user's computer is irrelevant, and you
can't just go snagging it.  If you could, you could go snagging all their
data, and they probably woudn't like that...

> getting this from a form file input with the ENCTYPE of the form set to
> "multipart/form-data".

> I am getting the location from a string that is open
> from a file.

What?...

Are you maybe getting the name of the temp file where it's been stored on
your server?

Use the http://php.net/copy function or that new-fangled copy_uploaded_file
or whatever it is.

--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to