hey all,
i've a question about file upload. i want to save the original filepath as it was on the users PC (eg 'C:\Documents and settings\guest\ documents\test. txt') i cant seem to find the right way. i already tried 2 ways:
1) using $_FILES['name'] but this only returns the name (test.txt)
2)using javascript and filefield.value . this gave the same problem as the previous method
does anyone know if, and, if yes, how this can be done?
EDIT:
method nr2, is usable in IE, chrome and Opera. as far as i know, only firefox wont return the full path.
anyone got any ideas how i could get it working there?
i've a question about file upload. i want to save the original filepath as it was on the users PC (eg 'C:\Documents and settings\guest\ documents\test. txt') i cant seem to find the right way. i already tried 2 ways:
1) using $_FILES['name'] but this only returns the name (test.txt)
2)using javascript and filefield.value . this gave the same problem as the previous method
does anyone know if, and, if yes, how this can be done?
EDIT:
method nr2, is usable in IE, chrome and Opera. as far as i know, only firefox wont return the full path.
anyone got any ideas how i could get it working there?
Comment