Connecting Tech Pros Worldwide Forums | Help | Site Map

CGI to PHP Converter

Newbie
 
Join Date: Jan 2008
Posts: 3
#1: Mar 14 '08
The client's webpage posts a CGI string to my php page that contains a
couple of fields that I would like to retrieve. The format looks similar to
a php variable transfer, i.e. "?custom%20kt_login_id=41&custom%
20kt_login_random=more stuff".

Is there a javacript or php function that would allow me to capture this
data and parse out the values. What I really want is that login id.

Thanks.

ronverdonk's Avatar
Moderator
 
Join Date: Jul 2006
Location: The Netherlands
Posts: 4,139
#2: Mar 14 '08

re: CGI to PHP Converter


This is just a normal url parameter string. You can capture in in your PHP program via the $_GET array.

Ronald
Reply