Bug #16975: [chm] bug on passthru

From: Date: Thu, 02 May 2002 20:07:52 +0000
Subject: Bug #16975: [chm] bug on passthru
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6778@lists.php.net to get a copy of this message
From: lowang@ipro.pl Operating system: windows PHP version: 4.2.0 PHP Bug Type: Program Execution Bug description: [chm] bug on passthru I have found a bug in passthru function. It should return output generated by program to value but on my system it just print it to the browser and value sets to 0. My script <? $txt = 'some txt^Z^Z^Z^Z'.chr(13); passthru("echo ".escapeshellcmd($txt)." | tidy -config config.txt",$txt); ?> there should be an output from tidy in $txt but passthru print the output and sets $txt to 0. [chm date: 2002-04-20]... -- Edit bug report at http://bugs.php.net/?id=16975&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16975&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16975&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16975&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16975&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16975&r=support Expected behavior: http://bugs.php.net/fix.php?id=16975&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16975&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16975&r=submittedtwice

« previous php.bugs (#6778) next »