Re: ftp site
| From: | Richard Lynch | Date: | Fri, 29 Dec 2000 23:17:37 +0000 |
| Subject: | Re: ftp site | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-32244@lists.php.net to get a copy of this message | ||
Move all those files *outside* the web tree.
Only ftp.php should be in your web-site -- The rest need to live in your
home directory (and be readable by PHP user).
----- Original Message -----
From: <manuelito.ancheta@airborne.com>
Newsgroups: php.general
Sent: Friday, December 29, 2000 4:29 PM
Subject: [PHP] ftp site
> I am building a http ftp site where all it does is display content of a
> directory using ther readdir() function. It works, however, users can
still
> go the files by using http://site/dir/file.exe instead of
> http://site/ftp.php?file-file.exe . I would like my users just
> to be able
to
> download file using the php script.
>
> Help.
>
> ********************************
> Manny Ancheta *
> Data Communications Analyst *
> Airborne Express *
> Phone:(206)830-2319 *
> ********************************
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>