Rambles of Ev
  • Home
  • About
  • Search

CGI

A collection of 2 posts
CGI

CGI setting a session cookie Perl Server Side CGI Scripting

These cookie management routines differ from the usual textbook examples in that the expires which usually takes the form of: > expires=’Thu, 01-01-2000 15:00:00 GMT’; Is written to the browser as: > expires=Thu 01-01-2000 15:00:00 GMT; Disposing of the apostrophes and the comma after
16 Jan 2011 2 min read
CGI

Getting The Real IP Of Your Users

> $ip = $req->header’Client-IP’ || $req->header’Remote-Addr’; if $req->header’X-Forwarded-For’ { $proxy = $ip; $ip = $req->header’X-Forwarded-For’; } via Getting The Real IP Of Your Users [http://thepcspy.com/read/getting_the_real_ip_of_your_users/].
12 Aug 2010
Page 1 of 1
Rambles of Ev © 2026
Powered by Ghost