#21392 [Opn->Bgs]: use of <script language="php" runat="server">
| From: | iliaa@php.net | Date: | Fri, 07 Feb 2003 03:54:42 +0000 |
| Subject: | #21392 [Opn->Bgs]: use of <script language="php" runat="server"> | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32362@lists.php.net to get a copy of this message | ||
ID: 21392
Updated by: iliaa@php.net
Reported By: kellygreer1@yahoo.com
-Status: Open
+Status: Bogus
Bug Type: Feature/Change Request
Operating System: Windows
PHP Version: 4.3.0
New Comment:
Impractical and pointless. The runat directive is completely frivolous
and adding support for it, would only slow down the page parsing.
Previous Comments:
------------------------------------------------------------------------
[2003-01-03 09:49:02] kellygreer1@yahoo.com
Enter the bugs as Windows only since I don't have a way to confirm on
Linux, Unix, or Mac.
------------------------------------------------------------------------
[2003-01-03 09:39:16] kellygreer1@yahoo.com
<script language="php"> works as a render code block.
<script language="php" runat="server"> and
<script runat="server" language="php"> should also be made to work. I
think the way that you are searching for them is incorrect. It is like
php is specifically looking for
<script language="php"> although white-space (between script and
language) is ignored. I would say make the runat="server" mandatory,
but since you probably won't do that at least have PHP igonre the runat
attribute or all attributes that are not 'language'.
What happens if someone writes a browser that supports some kind of php
on the client? I know. Not likely. But think ahead.
Thanks,
Kelly
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21392&edit=1