ID: 12720 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Session related Operating System: Linux RedHat 7.1 PHP Version: 4.0.6 New Comment:
No, it's valid HTML all the way back to 2.0--it doesn't break HTML conformance at all. I suppose if you were desparate to get rid of it you could use output buffering and run a regex replace over the buffer before you send it to the browser. I rather strongly suspect your problem is elsewhere. Torben Previous Comments: ------------------------------------------------------------------------ [2002-02-20 22:53:15] [EMAIL PROTECTED] Is there no way to disable it though? I could not find any. Rough guess is that most people are still serving HTML 4.01 transitional pages or someother version of HTML. This then breaks conformance for those pages. Also PHP ignores the fact that you may already be sending this. eg if you have the following <FORM ... action="mydynpage.php?downloadID=a50d7195a107538e8043c4223e900a48"> php still adds the hidden input. ------------------------------------------------------------------------ [2001-08-13 12:09:14] [EMAIL PROTECTED] The extra slash is so that PHP is in compliance with XHTML 1.0. See http://www.w3.org/MarkUp/ for more information. Also, if this is causing your applications problems, you may be designing them incorrectly. ------------------------------------------------------------------------ [2001-08-13 12:04:48] [EMAIL PROTECTED] <input type="hidden" name="PHPSESSID" value="28d352f895d1d14d2121e32d80a69299" /> When cookies are not available, PHP auto append the input above in each form of my page. My question is: why that slash is there in the end of the tag? It is making trouble in my site... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=12720&edit=1
