php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #21392 use of <script language="php" runat="server">
Submitted: 2003-01-03 09:39 UTC Modified: 2003-02-06 21:54 UTC
From: kellygreer1 at yahoo dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.3.0 OS: Windows
Private report: No CVE-ID: None
 [2003-01-03 09:39 UTC] kellygreer1 at yahoo dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-03 09:49 UTC] kellygreer1 at yahoo dot com
Enter the bugs as Windows only since I don't have a way to confirm on Linux, Unix, or Mac.
 [2003-02-06 21:54 UTC] iliaa@php.net
Impractical and pointless. The runat directive is completely frivolous and adding support for it, would only slow down the page parsing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 07 09:01:31 2024 UTC