RE: [PHP-GTK] Showing abosolute path in $_FILES
| From: | Steph | Date: | Fri, 05 Dec 2003 01:07:59 +0000 |
| Subject: | RE: [PHP-GTK] Showing abosolute path in $_FILES | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4280@lists.php.net to get a copy of this message | ||
realpath()?
> -----Original Message-----
> From: David Green [mailto:david@pixelmagicfx.com]
> Sent: 05 December 2003 01:00
> To: php-gtk-general@lists.php.net
> Subject: [PHP-GTK] Showing abosolute path in $_FILES
>
>
> Quick file question. I want to have a user locate a file, and have the
> absolute path be saved as a variable. I have a form of type
> "file". In the
> form tag, I have enctype="multipart/form-data". On the target
> page, I call
> it by using $file = $_FILES['file']['name']. When i navigate to the file
> using the form, I can see the whole path in the "file" box, but
> when I print
> $file, it shows me only the file name without the path. I do not want to
> upload the file, I only want to save the path as a variable. How can I do
> this?
>
> Thanks!
>
> -David
>
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>