Behalf Of J. Cox
> Sent: October 19, 2003 5:30 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: Session hijacking
>
>
>
> "Ryan A" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > NO! Globals are on
> > And asking the others t
DXEBBWTYUU
- Original Message -
From: "J. Cox" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, 19 October, 2003 20:30
Subject: [PHP] Re: Session hijacking
"Ryan A" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> NO! Glob
The 'above' would make all items of $_SESSION array into variables... Errm..
$_SESSION["id"] would become $id, $_SESSION["username"] would become
$username and so on...
Not completely sure this'll work, but most likely as they already exist and
you only change their values, so they should remain g
Hey,
Thanks for replying.
**
$_REQUEST is a great superglobal, check it out...
And at the top of the hijacked script:
while(list($tmp1,$tmp2)=each($_SESSION))
$$tmp1=$tmp2;
$tmp1=tmp2=NULL;
Could work.. :p
Can you tell me what the above does please? (am quite a
$_REQUEST is a great superglobal, check it out...
And at the top of the hijacked script:
while(list($tmp1,$tmp2)=each($_SESSION))
$$tmp1=$tmp2;
$tmp1=tmp2=NULL;
Could work.. :p
--
// DvDmanDT
MSN: [EMAIL PROTECTED]
Mail: [EMAIL PROTECTED]
"Ryan A" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EM
Hey,
> Use an ini_set in your sessions script (I am assuming that you are using a
> seperate script to manage your sessions)
Not really, I use authenticate for the login, then above each script i have
a session_start() throughout the site.
Its gotten to be a habit that i start a script with sessi
"Ryan A" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> NO! Globals are on
> And asking the others they tell me that around 20% of the scripts (around
> 300 scripts) wont function with globals off :-(
>
> What to do?
Use an ini_set in your sessions script (I am assuming that yo
NO! Globals are on
And asking the others they tell me that around 20% of the scripts (around
300 scripts) wont function with globals off :-(
What to do?
Please help.
-Ryan
P.S how can you do this even with globals on?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
8 matches
Mail list logo