RE: [PHP] browsing permission

From: Date: Thu, 06 Sep 2001 16:02:34 +0000
Subject: RE: [PHP] browsing permission
Groups: php.general 
Request: Send a blank email to php-general+get-66233@lists.php.net to get a copy of this message
Without .htaccess you have two options: 1. Does your host offer a control panel? Mine has one where I can add password protection to any directory I wish - worth checking out. 2. require() a php file at the top of every page in that directory that does this: if (user is allowed here) { display page } else { sod off } HTH Jon -----Original Message----- From: Wilbert Enserink [mailto:wilbert@pdd.nl] Sent: 06 September 2001 16:40 To: php-general@lists.php.net Subject: [PHP] browsing permission Hi all, anybody knows a way to protect a directory on my webserver from browsing via a webbrowser. browsing is only permitted after users have logged in via a form on the website (so, I'm not able to use htaccess). thx. Wilbert ********************************************************************** 'The information included in this Email is of a confidential nature and is intended only for the addressee. If you are not the intended addressee, any disclosure, copying or distribution by you is prohibited and may be unlawful. Disclosure to any party other than the addressee, whether inadvertent or otherwise is not intended to waive privilege or confidentiality' **********************************************************************

« previous php.general (#66233) next »