From: eyemaster at go dot ro Operating system: Windows XP PHP version: 4.3.5 PHP Bug Type: Compile Failure Bug description: No result when running "php [nameofphpfile.php] > [outputpage.htm]"
Description: ------------ I am trying to run php.exe to convert a basic PHP file (named phpinfo.php) into a simple output html document. When i'm running php.exe using Windows Command Prompt to convert that file, it works. But when i'm running php.exe, using "Shell" command in Visual Basic, i see a DOS window and the code suposed to be in my output document, in that window (the output file is created but contains nothing). Why does it not works ? Are there any additonal arguments required (i'm using the -f argument) ? Please help me. Reproduce code: --------------- n/a Expected result: ---------------- A file containing html code Actual result: -------------- only a DOS window with code -- Edit bug report at http://bugs.php.net/?id=27931&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27931&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27931&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27931&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27931&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27931&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27931&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27931&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27931&r=support Expected behavior: http://bugs.php.net/fix.php?id=27931&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27931&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27931&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27931&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27931&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27931&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27931&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27931&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27931&r=float