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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux