Posted by Luuk on 01/10/08 18:01
<cmk128@hotmail.com> schreef in bericht
news:9bd94281-dd5f-4262-95ed-b1c1352936a9@i29g2000prf.googlegroups.com...
> Hi
> is it possible to write something to the apache log?
> thanks
> from Peter (cmk128@hotmail.com)
sure, try:
system("wget http://localhost");
it will write something like the following line to the logfile:
127.0.0.1 - - [10/Jan/2008:18:59:44 +0100] "GET / HTTP/1.0" 200 90 "-"
"Wget/1.10.2"
;-)
[Back to original message]
|