Hi folks, I've written a C program that takes input from stdin that I want to run from a php script. Whenever I want to run the program I give the command parser.exe < filename.xyz and it runs the program fine.
However, I want to do the same from inside a php script, no probs I thought, system("parser.exe < filename.xyz"); but the program that I call receives now input. (ie filename.xyz is not being fed to the program parser.exe I figure it must be possible, because if I create a .bat file (run.bat) with the line: parser.exe < filename.xyz in it and then run the batch file from php: system("run.bat"); then it works fine, but it echo's the batch commands to the page which I don't want. Has anyone any ideas? I can't for the life of me figure out how to get php to run the command parser.exe < filename.xyz !!!!!!! For simplicity at the moment, EVERYTHING is in htdocs. Using win98/apache1.3.20/PHP4 Any help appreciated!! Ross -- PHP Windows 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]