PHP 4.0 Bug #8311: quotes added when using session_start

From: Date: Mon, 18 Dec 2000 12:00:37 +0000
Subject: PHP 4.0 Bug #8311: quotes added when using session_start
Groups: php.dev 
Request: Send a blank email to php-dev+get-41728@lists.php.net to get a copy of this message
From: Stefan.Maris@01-soft.com Operating system: Windows 2000 PHP version: 4.0.3pl1 PHP Bug Type: IIS related Bug description: quotes added when using session_start 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 -- Edit Bug report at: http://bugs.php.net/?id=8311&edit=1

« previous php.dev (#41728) next »