On Friday 20 June 2003 02:55, Mignon Hunter wrote:
> Still no out put here's my script test.php:
> $output = shell_exec("/var/www/htdocs/vertex_test/a.out");
>   echo $output;
>
>
> tried "" and ''.  Both test.php and a.out are in same directory and both
> have 777 perms.

OK, it *ought* to work. Possibilities as to why it's not working:

- Your program is not outputting to STDOUT or otherwise not working correctly. 
Try shell_exec('/bin/date') or something similar.

- You've got some safe-mode restrictions enabled and haven't been checking 
your error log.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Q:      How many lawyers does it take to change a light bulb?
A:      One.  Only it's his light bulb when he's done.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to