#31284 [NEW]: php mime/type

From: Date: Fri, 24 Dec 2004 11:04:29 +0000
Subject: #31284 [NEW]: php mime/type
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-71036@lists.php.net to get a copy of this message
From: teunkloosterman at gmail dot com Operating system: Irrelevant PHP version: Irrelevant PHP Bug Type: Feature/Change Request Bug description: php mime/type Description: ------------ when making a php document with the <script></script> construct, you recommend typing: <script language="php"></script> but this is widely deprecated in html and xhtml. I think it's better to use <script type="text/php"></script> since this is more relevant because it's used everywhere PS. I've also tried: application/x-httpd-php as mime/type Reproduce code: --------------- <html> <head> <title></title> </head> <body> <script type="text/php"> echo "hello"; </script> </body> </html> Expected result: ---------------- hello Actual result: -------------- javascript error -- Edit bug report at http://bugs.php.net/?id=31284&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31284&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31284&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31284&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31284&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31284&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31284&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31284&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31284&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31284&r=support Expected behavior: http://bugs.php.net/fix.php?id=31284&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31284&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31284&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31284&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31284&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31284&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31284&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31284&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31284&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31284&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31284&r=mysqlcfg

« previous php.bugs (#71036) next »