Re: using PHP to browse and select a file on a local machine
| From: | David Robley | Date: | Thu, 23 Aug 2001 02:23:49 +0000 |
| Subject: | Re: using PHP to browse and select a file on a local machine | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64015@lists.php.net to get a copy of this message | ||
On Thu, 23 Aug 2001 11:11, Don wrote:
> Hi,
>
> I am running PHP 4.01 in a FreeBSD environment with Apache server. Is
> there a way I can use PHP to browse the users PC and choose a file
> (choose = placing it in a text box)?
>
> Thanks,
> Don
Forrtunately , no. I wouldn't want someone wandering around in my machine
and grabbing files at random.
But you can allow the client to select and upload files, which you could
then display in a text box. See the manual section on handling file
uploads.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Down with ignurance!