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". */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php