Or you could just drop a .htaccess file in the directory, with the following
---
Options -Indexes
---
which would stop directory listing from occuring in that directory and all sub-directories.
(Assumes you have AllowOverride Indexes at a minimum for that directory)
Beau
Did you change the value for SMTP = in your php.ini file? This is only required for Win32 servers, but must be set so that PHP knows what mail server to route mail() calls through. It should be something like
SMTP = mail.yourserver.com
Beau
From memory you can do something relating to creating a GET request, and then just parse the reply into a string, which would result in the same thing.
Have a look at the HTTP objects available and/or the Request objects I think.
HTH
Beau
Hi All,
I'm trying to configure an htaccess file on Apache so that I can protect a directory which looks like this;
www/
www/.htaccess
www/index.html
www/page.php
www/admin
www/admin/config.php
www/css
www/css/style.css
Basically, the problem that I have is that I need to be able to make...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.