[PHP] Re: How to destroy session ID

2004-08-20 Thread Ivan Kovalenko
Khuram Noman wrote: > i have problem in destroying session id, i use the > following code > > session_start(); > print "before Destroy".session_id(); > session_destroy() ; > > session_start(); > print "After Destroy".session_id(); > > ?> > > in before and after it prints the same sessionID so

RE: [PHP] User IP

2004-08-04 Thread Ivan Kovalenko
Nicklas Bondesson wrote: Actually, there's way to determine real user's IP, checking $_SERVER["HTTP_CLIENT_IP"], $_SERVER["HTTP_X_FORWARDED_FOR"] and, finally, $_SERVER["REMOTE_ADDR"]. But this may not give certain and correct result. > As far as I'm conserned you can't. The proxy will hide all i