Hi,
Could someone give me some help with http_post_files.
I am looking to capture the full path of the file posted.
ie I know $http_post_files['pic1']['name'] gives test.jpg
I would like to get c:\pictures\test\test.jpg
Thanks,
--SL
are you using a 'file' form?
If you have:
<input type='file' name='user'>
Then all you have to do is: echo $file; to get the full path
try this:
http://www.phpbuilder.com/manual/features.file-upload.php
Thank you for the reply,
I have 4 different file input fields; therefore echo $file won't work. Unless I'm missing something...
Shalom
can you put them in an array?
<input type='file' name='user[]'> <input type='file' name='user[]'> <input type='file' name='user[]'>
echo $user[0]; echo $user[1]; echo $user[2];