ID: 21397 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Unknown/Other Function Operating System: FreeBSD 4.6 Stable PHP Version: 4.3.0 New Comment:
I am closing this bug, as it is a problem on my client (W2k) side, and the server (FreeBSD) is ok. -daniel Previous Comments: ------------------------------------------------------------------------ [2003-01-03 16:01:29] [EMAIL PROTECTED] Thank you for your time, It is something about my computer, I tried this bug on netscape, ie, opera (latests), and it appeared on all of them, but when I checked on another computer, it didn't have that problem. I have no idea whats going on. I think re-install windows 2000 -again. (I do this about 2 or 3 times a year.) -daniel ------------------------------------------------------------------------ [2003-01-03 15:32:47] [EMAIL PROTECTED] I ran that script, and the output was as could be expected.... might I ask what version of PHP you are running? i might be a very old one which had a bug like that, though that is quite unlikely ------------------------------------------------------------------------ [2003-01-03 14:46:24] [EMAIL PROTECTED] This seams to be something about my computer. I don't know what is causing it. It happens on IE/NS/Opera ------------------------------------------------------------------------ [2003-01-03 14:29:07] [EMAIL PROTECTED] Thank you for your time, if you have any questions about the script, or need to see it run on our system, please feel free to contact me. -daniel ------------------------------------------------------------------------ [2003-01-03 14:28:16] [EMAIL PROTECTED] Something about magic_qoutes (or the URL=>_GET) is adding extra '>' in specific situations. (As if it was trying to close the tags.) For example (magic quotes on). Input $_GET has <[< <[>< <-< <->< And in addition the ,"\n\n<br>" seams to be adding its own '>'. A script showing this problem is below: <html> <body> <?php if ($_GET['text']) echo "You posted this string: ",$_GET['text'],"\n\n<br>"; echo "\n"; if ($_GET['text']) echo "htmlentities returns: ",htmlentities($_GET['text']),"\n<br>"; ?> <form method=get action="<?php echo $HTTP_SERVER_VARS['PHP_SELF']; ?>"> <input type=text name=text value="<[<"> <input type=submit value="Try this"> </form> <form method=get action="<?php echo $HTTP_SERVER_VARS['PHP_SELF']; ?>"> <input type=text name=text value="a<=b"> <input type=submit value="Try this"> </form> </body> </html> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21397&edit=1