Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cpanel error ? $ip changed ...

Discussion in 'General Discussion' started by xirico, Oct 23, 2006.

  1. xirico

    xirico Registered

    Oct 17, 2006
    Likes Received:
    Trophy Points:
    I work for a long time with Cpanel. I love it.
    Last September I notice my host ( ) for a bug:

    Since last September, when I save in Cpanel, any file xxxxx.php with the variable $ip, the first occur of this variable is changed to "" (host's ip).

    =====>IN EDIT MODE
    // The first occurs of "$ i p" is changed to !!!! in the moment I save this file
    echo "=> $ip";

    ----- after SAVED, do not work because....

    // The first occurs of "$ i p" is changed to !!!! in the moment I save this file'888';
    echo "=> $ip";


    This is the answer of the Host (

    Technical Support

    the file manager provided by cpanel has problems. we are not the creators of that script in cpanel and cannot fix it. don't use cpanel to edit the file. download the file using an ftp application. edit it. upload the file using the ftp application.

    I can´t believe in that. The variable $ip is one of the most used in programs PHP, and others Cpanel users do not live with this! Tell me your opinion, please.

    Thanks for your answer
  2. rsaylor

    rsaylor Well-Known Member

    Mar 27, 2003
    Likes Received:
    Trophy Points:
    change your varable. This is a 5 sec fix that you are trying to turn into a 2 month fix. Simple answer is to fix your varable. cPanel can come back stating that is a reserved varable in cpanel.

Share This Page