Ash, Ben, Thanks!
For my web server, I can access to:
all the http documents are stored inside httpdocs and SSL documents inside
The web root you mean here is referred to ./httpdocs and ./httpsdocs or the
parent directory of them?
If I put the logfile inside ./log/logfile.txt where ./log is same level as
./httpdocs, can the web users access it?
"Ashley Sheridan" <a...@ashleysheridan.co.uk> wrote in message
On Fri, 2009-08-28 at 09:28 -0700, Ben Dunlap wrote:
> Which format should I used for log file? *.log or *.txt?
Doesn't matter to PHP -- but you do need to provide a local path, not a
> [http://domain.com/log/logfile.*] or
> [C:\some_path\domain.com\log\logfile.*] or just
You should try and put the log somewhere that is not in the web root, to
prevent anyone from accessing it and getting information which could
help a hack.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php