From: [EMAIL PROTECTED] Operating system: Free BSD 4.4 PHP version: 4.1.1 PHP Bug Type: Scripting Engine problem Bug description: ini_set scrambles output
The following Code shows some strange behaviour: <table cellspacing="2" cellpadding="2" border="0"> <tr> <td class="grossfett" valign="top" align="left">Galerie</td> </tr> <tr> <td valign="top" nowrap> <?php ini_set("session.use_trans_sid","0"); $cnt=0; $d = dir("$DOCUMENT_ROOT/3sonstiges/felgenveredelung/bp/galerie/thumbs/"); while($entry=$d->read()) { [...snipped some echo "blabla";lines] } $d->close(); ini_set("session.use_trans_sid","1"); ?> </td> </tr> </table> The following Output is produced: <table cellspacing="2" cellpadding="2" border="0"> <tr> <td class="grossfett" valign="top" align="left">Galerie</td> </tr> <tr> <td<a href ="javascript:;" onClick=window.open("bp/showpic.php?pic =1.jpg","hurz","location=0,directories=0,status=0,menubar=0,scrollbars=0 ,toolbar=0,width=380,height=250");><img src="bp/galerie/thumbs/1.jpg" border="0"></a> [...snipped the list] valign="top" nowrap> </td> </tr> </table> watch the <td<a href [...] this should be <td valign="top" nowrap><a href [...] If i comment out the ini_set(); lines, output is normal. Any Idea? -- Edit bug report at: http://bugs.php.net/?id=14991&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]