RE: [PHP] Q: Hiding Folder Directories from public while still...

From: Date: Thu, 02 Aug 2001 17:38:54 +0000
Subject: RE: [PHP] Q: Hiding Folder Directories from public while still...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-60974@lists.php.net to get a copy of this message
if you're using apache, there's a *much* easier/secure way of doing this. setup an .htaccess file to restrict access to certain username/passwords. check out both: man htaccess man htpasswd > -----Original Message----- > From: Jon Yaggie [mailto:dmsales@design-monster.com] > Sent: Thursday, August 02, 2001 1:34 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Q: Hiding Folder Directories from public while > still... > > > i dont know if this is elagant but ti works. but a fake index.htmlin your > directory for browsers to default to. . .. > > > ----- Original Message ----- > From: "Marcus James Christian" <marcus@mjchristianunlimited.com> > To: <php-general@lists.php.net> > Sent: Friday, August 03, 2001 12:30 AM > Subject: [PHP] Q: Hiding Folder Directories from public while still... > > > > Hello, > > > > How does one do the trick of hiding a folder's directory listing from a > > public browser? > > > > i.e. Lets say the full address is www.mysite.com/php/magicphppage.php > > > > Well I still need some other files to read and write to > > magicphppage.php I don't want the public to be able to simply type > > www.mysite.com/php/ and have all of my php files show up on a funky > > "virtual directory". > > > > Thanks, > > Marcus > > > > -- > > Marcus James Christian - UNLIMITED - > > Multimedia Internet Design > > http://mjchristianunlimited.com > > > > Proudly presents the music of CHROMATICUS > > at http://chromaticus.com > > and http://artists.mp3s.com/artists/275/chromaticus.html > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#60974) next »