Re: query string

From: Date: Tue, 30 Oct 2001 13:38:30 +0000
Subject: Re: query string
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-72869@lists.php.net to get a copy of this message
hey take it easy men.. it's not you.. it's the encoding.. what's happening is that "=20" "=25" etc means a special caracther blank space etc.. try using url_encode() function to pass your parameters.. something like this would help $parameters = url_encode("error=25"); index.htm?$parameters hope this helps ----- Original Message ----- From: "Richard Baskett" <rick@baskettcase.com> To: "PHP General" <php-general@lists.php.net> Sent: Tuesday, October 30, 2001 9:02 AM Subject: [PHP] query string > Ok I am pulling my hair out! Why if I pass error=5 through a query string > like index.htm?error=5 and then echo it, it's correct, but when I do > error=25 it echos 2T and when I do error=500 it echos 5TP? What the heck is > going on here? I pass strings easy enough and I cant remember ever having > this problem... What's going on!!? :) > > Rick > > > -- > 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 (#72869) next »