[PHP] How to get exec() to display output from UNIX Shell Environemnt?

2003-08-14 Thread Scott Fletcher
Hi! How do I get the php function exec() to spit out the data from the Unix Shell Environment onto the webpage? I mean, I can create a script in bash shell environment using the terminal on the Unix machine and it would spit out the background information from the O/S along with the shell

Re: [PHP] How to get exec() to display output from UNIX Shell Environemnt?

2003-08-05 Thread Scott Fletcher
I have read the manual but haven't seen anything that work with system, passthru, exec for this command code. Here's the example that I use for exec() and curl with one example script and it work. --snip-- exec(curl -d \$XP_ECALS_STR\ 21 .TARGET_URL, $result_array, $res_code); --snip-- But with

Re: [PHP] How to get exec() to display output from UNIX Shell Environemnt?

2003-08-05 Thread Reuben D. Budiardja
On Tuesday 05 August 2003 05:20 pm, Scott Fletcher wrote: Hi! How do I get the php function exec() to spit out the data from the Unix Shell Environment onto the webpage? I mean, I can create a script in bash shell environment using the terminal on the Unix machine and it would spit out