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:[EMAIL PROTECTED]]
> Sent: Thursday, August 02, 2001 1:34 PM
> To: [EMAIL PROTECTED]
> 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" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to