Getting the file path on the user system when submitting a file

So basically this all started with this e-mail to my local mailing list:
” I have this code


get file


“;
if ($myfile)
print “myfile = “.$myfile;

When I browse to a file, say /tmp/thisfile.txt, the code returns only the name of the file, not the full pathname to the file. What am I doing wrong? Help!”

(more…)