On Thu, May 10, 2007 1:51 pm, Armando Acosta wrote:
> Problem is, that, once the page "usr_frm.php" have been hit, the
> session variable $_SESSION["usr_type"] gets changed (unexpectedly) to
> exactly the same value passed to the script via GET variable "typ".
>
> But even worse: this code works perfectly well on my developer machine
> (Windows) but in doesn't on the actual server (Linux).
>
> I realized that the server uses a different PHP configuration,
> specially: "register_globals" set to ON. I already got them to change
> this value to OFF... but this did not solve the problem.

It should have solved it, unless you've messed up your session data
with the previous script already...

Are you SURE they turned it OFF?  Check phpinfo again.

If all else fails, just change the variable name to something else in
the usr_frm.php script, so they don't "collide" with session data...

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to