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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: kellygreer1 at yahoo dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Fri Jun 19 00:00:02 2026 UTC