Re: Problem with special characters

From: Date: Sun, 24 Mar 2002 17:01:41 +0000
Subject: Re: Problem with special characters
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-89915@lists.php.net to get a copy of this message
On Sunday 24 March 2002 17:51, N. Pari Purna Chand wrote: > When a form is submitting data to another php page > it is sending specialcharacters with escape sequences added. > > Ex : <Input type=text value="c:\programfiles\" name=var1> > & when i do an > echo $var1; > in the submitted php page > it is showing "c:\\programfiles\\" instead of "c:\programfiles\" > > Howto overcome this ? Look up the following in the manual: php.ini > magic_quotes_gpc stripslashes() addslashes() -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* Sweet sixteen is beautiful Bess, And her voice is changing -- from "No" to "Yes". */

« previous php.general (#89915) next »