[PHP] Escaping Chars

2003-02-07 Thread Rob Walls
I need to get a password value from a form, store it in a database and then later be able to compare a login password to the one stored in the db. This works great unless the password contains the '\' char. magic_quotes_gpc is ON and magic_quotes_runtime is OFF. As a klude, I tried just removing sl

[PHP] Session wierdness

2002-06-18 Thread Rob Walls
Is it possible to use PHP sessions reliably? I get very inconsistent results. I register session vars after a password check. I use session_start at the top of every file. I watch the /tmp directory for session files. Within a few random page transitions the session data inside the registered vari