invalid HTML, mombu forums" /> invalid HTML Php" /> #40781 : <input name="PHPSESSID" /> invalid HTML - Mombu the Php Forum
Mombu the Php Forum sponsored links

Go Back   Mombu the Php Forum > Php > #40781 : invalid HTML
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 13th July 19:30
php-bugs
External User
 
Posts: 1
Default #40781 : invalid HTML


ID: 40781
User updated by: php dot net at steltenpower dot com
Reported By: php dot net at steltenpower dot com
Status: Bogus
Bug Type: Session related
Operating System: Linux
PHP Version: 4.4.5
New Comment:

Keeping the current thing as a default would be good.

Saying that it works on a few common browsers is forgetting about
semantic web and accessibility.


Previous Comments:
------------------------------------------------------------------------

[2007-03-12 18:05:06] edink@php.net

Browsers from Netscape 4 and up have no problem parsing tags like
<br /> so this is not going to be changed in order to keep xhtml
compabtipility.

------------------------------------------------------------------------

[2007-03-12 11:44:28] php dot net at steltenpower dot com

I'm using PHP's built-in session system through session_start() etc.

In the HTML output this results in lots of things of which
<input type="hidden" name="PHPSESSID" value="8748someLongId865" />
is part.

The
/
in there should be removed to make it valid HTML


sidenote:
The
/
is needed for XHTML (which might also need
name
replaced with
id)

So to be able to use the PHP built-in system for both valid HTML and
valid XHTML a switch, flag, ini setting, or something is needed

------------------------------------------------------------------------

[2007-03-12 09:29:33] tony2001@php.net

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


------------------------------------------------------------------------

[2007-03-12 00:19:34] php dot net at steltenpower dot com

Description:
------------
<input type="hidden" name="PHPSESSID" value="..." />
is generated and the / makes it invalid HTML.

XHTML needs the /

So to be able to output both valid HTML and valid XHTML an ini variable
or something is needed

------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=40781&edit=1
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666