PHP 4.0 Bug #8311 Updated: quotes added when using session_start
| From: | cynic@php.net | Date: | Sat, 20 Jan 2001 01:22:59 +0000 |
| Subject: | PHP 4.0 Bug #8311 Updated: quotes added when using session_start | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44616@lists.php.net to get a copy of this message | ||
ID: 8311
Updated by: cynic
Reported By: Stefan.Maris@01-soft.com
Status: Open
Old-Bug Type: IIS related
Bug Type: *Session related
Assigned To:
Comments:
reclassifying.
BTW, this is not IIS-specific, it has been reported for Mandrake too (#8686).
Previous Comments:
---------------------------------------------------------------------------
[2000-12-18 07:00:37] Stefan.Maris@01-soft.com
using IIS 5.0 and php4.0.3pl1 as an ISAPI module;
referring to bug ID #8271:
the problem does not seem to be related to the "include()" statement...
I have some code generating a clientside java script to generate a form input (tested wit hand
without the include stuff):
print " document.writeln("<input type=\"checkbox\" ...>");";
including the session_start() statement generates the following code:
document.writeln("<input type="""checkbox" ... >");
resulting in a browser error...
comment the session_start() out and the code looks like:
document.writeln("<input type="checkbox" ... >");
as should be...
Second test:
print " document.writeln("<input type=checkbox ...>");";
including the session_start() statement generates the following code:
document.writeln("<input type="checkbox" ... >");
resulting in a browser error...
comment the session_start() out and the code looks like:
document.writeln("<input type=checkbox ... >");
as should be...
The problem does not occurr when hosting the page on Linux/Apache...
Regards
Stefan
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8311