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 thru the manuals i came across
passtrhu() and exec().
I tried passthru
passthru("myapp");
and
passthru("./myapp");
but nothing is outputted. What is wronf?
myapp resides in the same directory as the
application.
the page and the app is hosted at my ISP ( Interland )
server. the contents are -
/html/index.php
/html/myapp
Do I need to set up special permission?
Karam
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php