Re: POST and & trouble.

From: Date: Tue, 23 Oct 2001 23:29:59 +0000
Subject: Re: POST and & trouble.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-72020@lists.php.net to get a copy of this message
Try using urlencode function to make it "usable" on url, so char symbols like & or / or . (dot) will be returned by this funtion like a % with the hex ascii code near by... I hope this helps... ----- en español... transandino compañero phpero Intenta codificando para url, empleando la función urlencode, tal que símbolos "no apropiados para la URL" serán presentados como % y el código hexadecimal. Espero que esto ayude... ----- Original Message ----- From: "German Pablo Gentile" <german.gentile@horizonteit.com.ar> To: <php-general@lists.php.net> Sent: Tuesday, October 23, 2001 5:41 PM Subject: [PHP] POST and & trouble. > I´m using post to send a variable between pages. > I have a variable value like that 'Jeff&Company', so i have in the > header : > loginok.php?client_id=14&client_name=Jeff&Company > > Loginok page take the value at client_name as Jeff. Truncate the real > value. > > How in can fix that? > > Thanks in advance. > > Germán Pablo Gentile > IT Manager > Horizonte Soluciones de IT > www.horizonteit.com.ar > german.gentile@horizonteit.com.ar > > > -- > 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 (#72020) next »