Script is simple as much as he can be! Here is it: ------------------------------- <? print('<FORM METHOD=GET><br>'); print('<TEXTAREA NAME="text" ROWS=15 COLS=70>'.$text.'</TEXTAREA><br>'); print('<INPUT TYPE="submit" name="submit" VALUE="Разослать">'); print('</FORM>'); ?> -------------------------------
On PHP 4.1.0 - it works fine. But on 4.1.1 i take slashing on every pressing of submit button. As i say - you can see this bug result on page http://bugs.php.net/search.php if you enter \" in any field and press "Search". Andrey Hristov wrote: > I think this is not php problem but problem in the script. No stripslashes is made >on the output. > This is common problem. > > > Best regards, > Andre Hristov > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, February 15, 2002 6:08 PM > Subject: Bug #15571: incredible slashing of " and \ > > > >>From: [EMAIL PROTECTED] >>Operating system: FreeBSD 4.x >>PHP version: 4.1.1 >>PHP Bug Type: Scripting Engine problem >>Bug description: incredible slashing of " and \ >> >>When script must take variable that consist " and \ >>it takes \" and \\. >> >>You can see this bug on http://bugs.php.net/search.php >>if you enter \" in any field and press "Search". >> >>I have PHP 4.1.1 configured with such options: >>./configure --with-apxs=/usr/local/apache/bin/apxs >>--with-config-file-path=/usr/local/apache/conf >>--with-mysql=/usr/local/mysql --with-gd=/usr/local --enable-trans-sid >>--enable-versioning --enable-inline-optimization --enable-ftp >>--enable-dbase --enable-gd-native-ttf --with-ttf >> >>-- >>Edit bug report at http://bugs.php.net/?id=15571&edit=1 >>-- >>Fixed in CVS: http://bugs.php.net/fix.php?id=15571&r=fixedcvs >>Fixed in release: http://bugs.php.net/fix.php?id=15571&r=alreadyfixed >>Need backtrace: http://bugs.php.net/fix.php?id=15571&r=needtrace >>Try newer version: http://bugs.php.net/fix.php?id=15571&r=oldversion >>Not developer issue: http://bugs.php.net/fix.php?id=15571&r=support >>Expected behavior: http://bugs.php.net/fix.php?id=15571&r=notwrong >>Not enough info: http://bugs.php.net/fix.php?id=15571&r=notenoughinfo >>Submitted twice: http://bugs.php.net/fix.php?id=15571&r=submittedtwice >> >> >> > -- Alexander Motin [EMAIL PROTECTED] ISP Alkar-Teleport -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php