Re: Error when execute header('location: otherpage.php') after email been sent out. Any Workaround?
| From: | Ashley Sheridan | Date: | Fri, 28 Aug 2009 16:30:59 +0000 |
| Subject: | Re: Error when execute header('location: otherpage.php') after email been sent out. Any Workaround? | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-297431@lists.php.net to get a copy of this 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 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