Re: [PHP] droping upload files

2005-08-25 Thread Richard Lynch
On Wed, August 24, 2005 9:50 am, cajbecu wrote: Hello. I need some help. I set my php to run script.php before any php script. I want to drop uploaded files, so I did ?php if ($_SERVER[SERVER_NAME]==some.host.on.my.server) { if ((isset($_SERVER['REQUEST_METHOD']))

[PHP] droping upload files

2005-08-24 Thread cajbecu
Hello. I need some help. I set my php to run script.php before any php script. I want to drop uploaded files, so I did ?php if ($_SERVER[SERVER_NAME]==some.host.on.my.server) { if ((isset($_SERVER['REQUEST_METHOD'])) ($_SERVER['REQUEST_METHOD']==POST)) { unset($_FILES);

RE: [PHP] droping upload files

2005-08-24 Thread Jay Blanchard
[snip] it`s working for that host, but my question is.. if a user can upload his file on the server, despite the fact i unset all the global variables where the files are stored. [/snip] The files are stored in the designated temporary location before and then get deleted once the process is