note 44089 added to features.file-upload
| From: | mtalame at mtalame dot com | Date: | Thu, 15 Jul 2004 00:58:20 +0000 |
| Subject: | note 44089 added to features.file-upload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-73250@lists.php.net to get a copy of this message | ||
Hi everyone,
I've been trying to knock my head but couldn't find the solution. I know it can be done
using javascript but I'm not sure about php.
Here's what I want:
After uploading the file, I would like to preview the filename and the original path uploaded from
the client side and not what is now uploaded to the server..
for example, C:\mydocuments\myfiles\myfile.doc
I tried using $_FILES['userfile'] but returned nothing or in some case ArrayPath as a
value
All other methods such as $_FILES['userfile']['name'], temp-name, type, size ,
etc.. works just fine
what's the method should be used?
Please help..
Thank you
Toufic
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44089
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44089&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44089&report=yes
Search -- http://master.php.net/manage/user-notes.php