Re: [PHP] Not able to Linux binary

2003-12-05 Thread Jason Wong
On Friday 05 December 2003 14:04, Karam Chand wrote: I created a linux binary using GCC. Whenever you execute it reads a file from the current directory and outputs the contents. e.g. - ./myapp output hello world. If that is all it does, and that is all you need, why not implement it in

Re: [PHP] Not able to Linux binary

2003-12-05 Thread Karam Chand
Hello I am a astudent and my domain area is C++ I am and new to PHP and all other scripting language. Couldnt hire a PHP programmer coz of lack of funds :) The program I wrote was just to learn how to execute a binary from PHP. My actuall program takes a Name as the first parameter and generates

Re: [PHP] Not able to Linux binary

2003-12-05 Thread Jason Wong
On Friday 05 December 2003 20:43, Karam Chand wrote: I have set the error reporting to full but nothing happens. The PHP page loads up blank. Put the following lines at the top of your program: error_reporting (E_ALL); ini_set('display_errors', 1); That will force ALL errors to be

[PHP] Not able to Linux binary

2003-12-04 Thread Karam Chand
Hello I created a linux binary using GCC. Whenever you execute it reads a file from the current directory and outputs the contents. e.g. - ./myapp output hello world. Now I want to execute it from php() so that I can output the content on a HTML page or get the data in a variable. Reading