[PHP] how to invoke executables

2002-10-08 Thread Sharad Tiwari
dear all, can anyone tell me how can we invoke executables files using php script. Also can we link C librararies and use them with a PHP code. Thanking you all. Warm Regards, Sharad **Disclaimer** Information

[PHP] Calling C functions

2002-10-08 Thread Sharad Tiwari
hi all, I have just started working on PHP ... (just a couple of days back) I had posted a question yesterday and could not get any rep from anyone My problem is this ... I have to take inputs from a web-based interface and pass them as parameters to a C function (or an executable program)

Re: RE: [PHP] Calling C functions

2002-10-08 Thread Sharad Tiwari
rgs to call the binary with > # For example: > $arg1 = 10; > $arg2 = 15; > > # Put together the command string > $command = "$yourbinary $arg1 $arg2"; > > $result = `$command`; > > Be sure to check the return result from your prog