View Full Version : prevent php script from outputting data in logs

04-14-2005, 02:21 AM
I'm using a php/javascript chat script (http://www.plasticshore.com/projects/chat/). You can download it from that site too.

It's all working right now, but i have this other problem.

Everytime you load that page, it outputs TONS (almost literally!) of data into my cpanel's 'Latest Visitors' log. The data looks something like this:

Http Code: 200 Date: Apr 13 19:01:47 Http Version: HTTP/1.1 Size in Bytes: 5

And there's hundreds, maybe thousands (later on) of that kind of data.

It prevents me from easily looking through the logs.

My question: Can i prevent this script from outputting any of its data? It's php.


04-14-2005, 02:33 PM
Well it's not php that does that. The server logs the page requests and a chat script written in PHP will have loads of page requests. You should search for the anwser in cPanel.

04-14-2005, 09:05 PM
does cpanel have an option where you can stop a certain script/file from being logged?

04-15-2005, 10:30 AM
that is from httpd(Apache) deomon in ut server