> -----Original Message-----
> From: symbulos [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 27, 2005 1:00 PM

> Unfortunately, that means every person who connects to the directory can
> see
> the files. If some of the files are for sale, how do you stop the user
> from
> seeing them / downloading them without permission?

Move them _outside_ webscope and generate a download with the header() 
function, which is only is executed if the user has access.
 
> Is there any other way to upload files using php?

That way´s just fine. You could upload directly to the dir outside webscope if 
You like?


--
Med venlig hilsen / best regards
ComX Networks A/S
Kim Madsen
Systemudvikler/Systemdeveloper

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to