Bug #17599: echo java script

From: Date: Tue, 04 Jun 2002 17:13:48 +0000
Subject: Bug #17599: echo java script
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-9480@lists.php.net to get a copy of this message
From: codemake@ksts.seed.net.tw Operating system: window 2000 PHP version: 4.2.1 PHP Bug Type: Scripting Engine problem Bug description: echo java script test.php <? echo "<SCRIPT Language =\"JavaScript\">"; echo "<!--"; echo " alert(\"please input data!\");"; echo "//-->"; echo "</SCRIPT>"; header("Location: http://127.0.0.1"); ?> i think they should be popup alert window but here is error message Warning: Cannot add header information - headers already sent by (output started at C:\Inetpub\wwwroot\codemake\test.php:4) in C:\Inetpub\wwwroot\codemake\test.php on line 9 -- Edit bug report at http://bugs.php.net/?id=17599&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17599&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17599&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17599&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17599&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17599&r=support Expected behavior: http://bugs.php.net/fix.php?id=17599&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17599&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17599&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17599&r=globals

« previous php.bugs (#9480) next »