Re: Error when execute header('location: otherpage.php') after email been sent out. Any Workaround?

From: Date: Sat, 29 Aug 2009 05:04:44 +0000
Subject: Re: Error when execute header('location: otherpage.php') after email been sent out. Any Workaround?
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-297457@lists.php.net to get a copy of this message
Ash, Ben, Thanks! For my web server, I can access to: ./httpdocs ./httpsdocs all the http documents are stored inside httpdocs and SSL documents inside httpsdocs. 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? Thanks! Keith "Ashley Sheridan" <ash@ashleysheridan.co.uk> wrote in message news:1251477059.27899.117.camel@localhost...
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 URL.
[http://domain.com/log/logfile.*] or
No...
[C:\some_path\domain.com\log\logfile.*] or just
Yes! Ben
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. Thanks, Ash http://www.ashleysheridan.co.uk


« previous php.general (#297457) next »