From: [EMAIL PROTECTED]
Operating system:
PHP version: 4.0.6
PHP Bug Type: Strings related
Bug description: Double printing with echo and print
The following html/php script gives a duplicate of the last line.
<HTML>
<BODY><CENTER><B>
<P>System name:
<?php echo( system("hostname") ); ?>
<P></B></CENTER> </BODY>
</HTML>
returns the following html output.
<HTML>
<BODY><CENTER><B>
<P>System name:
kelsey
kelsey<P></B></CENTER> </BODY>
</HTML>
I've used the standard compile:
'./configure' '--with-mysql' '--with-apxs'
System: Linux kelsey 2.2.19-6.2.1 #1 Mon Apr 9 21:59:11 EDT 2001 i486
unknown
--
Edit bug report at: http://bugs.php.net/?id=12238&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]