Re: HTTP_GET_VARS question

From: Date: Tue, 14 Nov 2000 23:07:09 +0000
Subject: Re: HTTP_GET_VARS question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-25299@lists.php.net to get a copy of this message
Are you URLEncoding that data to pass it between pages? ----- Original Message ----- From: Bryan Parker <bparker@tunnelworks.com> Newsgroups: php.general Sent: Sunday, November 12, 2000 11:51 AM Subject: [PHP] HTTP_GET_VARS question > I am new to PHP, if someone could help I would appreciate it. > > I have an extensive site that was built in ASP on an NT 4.0 server > with IIS 4.0. I am trying to convert that site to run on a Linux box > with PHP, Apache and MySQL (or PostgreSQL, haven't decided > yet). > > I ran a utility distributed with RedHat 7, called asp2php to convert all ASP > code to PHP. It did a great job, but since I was using session variables > in ASP, the utility converted these to HTTP_GET_VARS variables. > The problem is, that some of these variables contain spaces and commas. > PHP looks like it is parsing these variables based on these common separator > characters. For example, a variable that should be set to: > 'Balls, Bars, and Logs' > is actually set to 'Balls,' > Is there a setting I need to tweak, or should I use a different way of > passing variables from page to page? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#25299) next »