RE: [PHP] Stopping users to see uploaded files
| From: | Kim Madsen | Date: | Mon, 30 May 2005 12:09:51 +0000 |
| Subject: | RE: [PHP] Stopping users to see uploaded files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-215986@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: symbulos [mailto:partners@symbulos.com]
> Sent: Friday, May 27, 2005 6:50 PM
> To: php-general@lists.php.net
> Subject: RE: [PHP] Stopping users to see uploaded files
>
> Thanks everybody for all the useful suggestions.
>
> > That way´s just fine. You could upload directly to the dir outside
> > webscope if You like?
>
> How do we do that?
>
> Thanks in advance.
Well, I´ve got NO clue how the setup is on the server, where You are running the scripts. Let´s
say You have Your own server or has a directory, mostly called public_html, where You upload files
then it should be piece of cake. Current Setup:
~user/public_html // containing all your php files
Add a new dir: ~user/tmp (or upload)
And have the uploaded files uploaded into that dir (don´t forget permissions)
--
Med venlig hilsen / best regards
ComX Networks A/S
Kim Madsen
Systemudvikler/Systemdeveloper