Re: upload but restrict
| From: | Miguel Cruz | Date: | Fri, 17 May 2002 17:47:22 +0000 |
| Subject: | Re: upload but restrict | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98143@lists.php.net to get a copy of this message | ||
On Fri, 17 May 2002, r wrote:
> Sorry for the late reply,
> but i have a boss who wants everything done RIGHT NOW!
>
> Anyway, as an example think a person uploads a .php or .exe file, I just
> dont want it to run on my webserver....
> how can i restrict him/her?
Just make sure the uploads are in a directory where Apache has been
configured not to run anything. How to do that depends on how you told it
to run things in other directories.
miguel