DvDanDT->Re: [PHP] Re: Session hijacking
| From: | Ryan A | Date: | Mon, 20 Oct 2003 00:53:06 +0000 |
| Subject: | DvDanDT->Re: [PHP] Re: Session hijacking | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-166708@lists.php.net to get a copy of this message | ||
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 newbie) and whats
the :-p for?
plus is that double dollar ($$tmp) a typo?
Thanks,
-Ryan