ID: 20968 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Session related Operating System: Windows 2000 PHP Version: 4.2.3 New Comment:
The cvs behaves differently but still the same error str += "<form name=reptoc><input type="hidden" name="PHPSESSID" value="some value" />"; It doesnt put quotes around the reptoc but it still puts bad quotes around the type="hidden" and others. Charles Previous Comments: ------------------------------------------------------------------------ [2002-12-12 11:49:02] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-12-12 11:42:10] [EMAIL PROTECTED] Whe html is written with javascript and trans sid is used, The javascript may get messed up. ie <script LANGUAGE=JavaScript1.2> str += "<form name=reptoc>"; </script> becomes <script LANGUAGE=JavaScript1.2> str += "<form name="reptoc"><input type="hidden" name="PHPSESSID" value="some value" />"; </script> This produces a parse error because the quotes are breaking the string. Thanks Charles Killmer ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20968&edit=1
