You have magic_quotes_gpc turned on.  You will need to stripslashes anything
passed in as a GET var.

You can turn this off in php.ini or Apache conf files (including .htaccess).
See the configuration portion of the manual for instructions.

Brian Moon
------------------------------------------
dealnews.com, Inc.
Makers of dealnews & dealmac
http://dealnews.com/ | http://dealmac.com/


----- Original Message -----
From: "Guido Laubner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 12:39 PM
Subject: [PHP-DEV] PHP Bug Type: Strings related ???


>
> From: [EMAIL PROTECTED]
> Operating system: Solaris 8 / Intel
> PHP version: 4.0.4pl1
> PHP Bug Type: Strings related
> Bug description: Backslash parameter passing in Forms
>
> Here's instructions on how to reproduce :
>
> 1. Create a php-file with this content :
> <HTML> <BODY> <?php print( $p ); ?> </BODY> </HTML>
> and call it whatever you want (eg. blah.php)
>
> 2. Next call the URL eg. http://server/blah.php?p=/
> 2a. Same with http://server/blah.php?p=%5c
> The apache access_log shows the very same url one typed into netscape or
> explorer, so this looks fine to me.
>
> 3. Look at the output page. It'll show 2 (in words : two) backslashes
> Why is this ? How do i pass just one backslash ?
>
> Thanks a lot
> Cheers
> Guido
>
> Sorry, the web page reported a bug in /local/Web/sites/phpweb/bugs.php on
> line 419
> and said : "Sorry, mail not sent!" and asked me to send this mail
manually.
> +=================================================================+
> | Guido Laubner                   Phone : +49 6102 7786 618       |
> | Morse Computers                 Fax   : +49 6102 7786 666       |
> | Martin-Behaim-Strasse 19-21     Email : [EMAIL PROTECTED] |
> | 63263 Neu-Isenburg              WEB   : http://www.morse.com    |
> +=================================================================+
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to