Re: Wrong output with a <FORM> - PLEASE HELP

From: Date: Thu, 27 Nov 2003 12:02:45 +0000
Subject: Re: Wrong output with a <FORM> - PLEASE HELP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-171194@lists.php.net to get a copy of this message
A. Mikkelsen wrote:
Problen with format......
          <TD><INPUT TYPE='Text' NAME='new_loc_domain' SIZE='15'
MAXLENGHT='20'></TD>
          <TD><INPUT TYPE='Text' NAME='new_loc_path' SIZE='25'
MAXLENGHT='255' VALUE='S:\Script\License\'></TD> But when I ECHO 'new_loc_path' in a function I get
    S:\\Script\\License\\
But I want go get
    S:\Script\License\
can anyone help ???????
magic_quotes_gpc is on, addslashes() is run on each get, post and cookie variable. To get rid of the escaped slash use stripslashes.

« previous php.general (#171194) next »