[PHP] exec() and passthru()

2003-06-19 Thread Mignon Hunter
Jason, I'm only subscribed to digest and found your reply in archives and couldnt figure out how to reply :{ Anyway, right now I'm just trying to get something to work. The c exe is as follows: ** #include stdio.h #define NAME Mignon int main(void) { int q; q

Re: [PHP] exec() and passthru()

2003-06-19 Thread Jason Wong
On Friday 20 June 2003 01:56, Mignon Hunter wrote: I'm only subscribed to digest and found your reply in archives and couldnt figure out how to reply :{ Anyway, right now I'm just trying to get something to work. The c exe is as follows: ** #include stdio.h

Re: [PHP] exec() and passthru()

2003-06-19 Thread Alberto Ferrer
not is more easy use system ? $output = system('/path/to/a.out'); -- -- Alberto Ferrer [EMAIL PROTECTED] http://www.barrahome.org -- Syntax Error in KITCHEN.H: COFFEE not found. Jason Wong

[PHP] exec() system() passthru() problems. (S.u.S.E 7.2)

2001-10-03 Thread Edward Woodstarf
Hi, I was wondering if someone could HELP I'm very new to php and I am trying to get the application functions to start an instance of a program. However no matter what I do the functions return -1. Even if I add the absoulte path it still returns -1. nothing happens. I'm running S.u.S.E

Re: [PHP] exec() system() passthru() problems. (S.u.S.E 7.2)

2001-10-03 Thread David Robley
On Wed, 3 Oct 2001 20:01, Edward Woodstarf wrote: Hi, I was wondering if someone could HELP I'm very new to php and I am trying to get the application functions to start an instance of a program. However no matter what I do the functions return -1. Even if I add the absoulte path it

[PHP] Exec, system, passthru didn't work

2001-07-16 Thread Reuben D Budiardja
Hi, I tried to execute the following command from the web interface using a system call /usr/bin/play a_wave_file.wav I tried exec, system, passthru, and shell_exec. None of them worked, that is I didn't hear any sound played. Note that I'm sitting here on the server itself, and tried it

Re: [PHP] Exec, system, passthru didn't work

2001-07-16 Thread Rasmus Lerdorf
I tried to execute the following command from the web interface using a system call /usr/bin/play a_wave_file.wav I tried exec, system, passthru, and shell_exec. None of them worked, that is I didn't hear any sound played. Note that I'm sitting here on the server itself, and tried it with

RE: [PHP] Exec, system, passthru didn't work

2001-07-16 Thread scott [gts]
did you try and capture error messages from the system calls? webserver probably doesnt have permission to do what you want it to do. -Original Message- From: Reuben D Budiardja [mailto:[EMAIL PROTECTED]] Subject: [PHP] Exec, system, passthru didn't work Hi, I tried to execute

Re: [PHP] Exec, system, passthru didn't work

2001-07-16 Thread Reuben D Budiardja
On Monday 16 July 2001 10:37 am, you wrote: On Monday 16 July 2001 09:42 am, you wrote: I tried to execute the following command from the web interface using a system call /usr/bin/play a_wave_file.wav I tried exec, system, passthru, and shell_exec. None of them worked,

[PHP] Exec, system, passthru didn't work

2001-07-14 Thread Reuben D Budiardja
Hi, I tried to execute the following command from the web interface using a system call /usr/bin/play a_wave_file.wav I tried exec, system, passthru, and shell_exec. None of them worked, that is I didn't hear any sound played. Note that I'm sitting here on the server itself, and tried it

[PHP] exec system passthru

2001-07-09 Thread Plamen Slavov
Sorry if question was asked, but i did not find any information I use Apache/1.3.20 Win32 PHP/4.0.5 on a Windows ME I can run commands built in command.com like dir or cd, using system() or passthru(), but whenever i try to use external command, like pkunzip or gzip, the web server hangs and