hassank1 Posted April 8, 2009 Share Posted April 8, 2009 Ok I spend days and days trying to fix a bug in my application... offline it's working ok .. but online the page behave unexpectedly ... so then accidently I've figured out that the value of a session is changed .. for example I've a session --> $_SESSION[iD] so whenever I set a variable .. $ID = 5 ... automatically $_SESSION[iD] become 5 .. I mean that's weird .. it's not happening offline.. so what's that exactly ? and could it be disabled? thx Quote Link to comment Share on other sites More sharing options...
redarrow Posted April 8, 2009 Share Posted April 8, 2009 what $_SESSION[id] it suppose to be >>> $_SESSION['id'] Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted April 8, 2009 Share Posted April 8, 2009 It sounds like your script is running on a server that still has register_globals enabled. Ken Quote Link to comment Share on other sites More sharing options...
schilly Posted April 8, 2009 Share Posted April 8, 2009 ya thats sounds right. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.