When retrieving the path from the input file, using $_POST, the path is being picture.jpg and I need to have the full path i.e. C:/C:\Documents and Settings...\picture.jpg
what do i have to use ???
When retrieving the path from the input file, using $_POST, the path is being picture.jpg and I need to have the full path i.e. C:/C:\Documents and Settings...\picture.jpg
what do i have to use ???
I'm afraid there is no reliable way to determine this any more. The full path used to be sent along by some browsers in $_FILES[xyz]["name"]
, but nowadays most browsers just send the original file name for security reasons.
Not even Flash based uploaders like SWFUpload can do this any more: See this forum discussion.