Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Jan 2004
    Location
    USA
    Posts
    364
    Thanks
    12
    Thanked 6 Times in 6 Posts

    prevent php script from outputting data in logs

    Hello,
    I'm using a php/javascript chat script. 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:

    /getChatData.php?lastID=98%20&rand=55936
    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.

    Thanks.
    Last edited by qwertyuiop; 04-14-2005 at 03:31 AM.

  • #2
    Senior Coder
    Join Date
    Aug 2003
    Location
    One step ahead of you.
    Posts
    2,815
    Thanks
    0
    Thanked 3 Times in 3 Posts
    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.
    I'm not sure if this was any help, but I hope it didn't make you stupider.

    Experience is something you get just after you really need it.
    PHP Installation Guide Feedback welcome.

  • #3
    Regular Coder
    Join Date
    Jan 2004
    Location
    USA
    Posts
    364
    Thanks
    12
    Thanked 6 Times in 6 Posts
    does cpanel have an option where you can stop a certain script/file from being logged?

  • #4
    New to the CF scene
    Join Date
    Apr 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    that is from httpd(Apache) deomon in ut server
    OnLy GoD CaN JudGE Me


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •