Warning: Unknown: Your script possibly

Discussion in 'PHP' started by coldgansta, Aug 9, 2007.

  1. #1
    Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0

    I have the above error on the bottom of my website.i need help to get this off.
    I am a noob with php so plz explain any answer in(php noobish)lol.

    Thanks
     
    coldgansta, Aug 9, 2007 IP
  2. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #2
    Is the script working okay otherwise?

    If yes, you can disable warning messages in you php.ini file

    If No, you can enable register_globals in your .htaccess file or your php.ini file.

    To find out more than you ever want to know about how your hosting is set up, copy the script below to notepad and then save it as phpinfo.php. Upload it to your server and it will tell you exactly how your server is set up.

     
    Colbyt, Aug 9, 2007 IP
  3. coldgansta

    coldgansta Guest

    Messages:
    1,614
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i did the above code as you said i got the info but i dont understand any of it lol me a real php nooby, here is a link to the info
    if i need to add any code to the htacsess or ini.php whats the codes?

    all the scripts work fine its just the warning at bottom of page,once i refresh it goes off
     
    coldgansta, Aug 9, 2007 IP