Re: [PHP] Problem with EXEC and PASSTHRU

2006-10-26 Thread Richard Lynch
http://php.net/flush may be of interest. On Wed, October 25, 2006 2:35 am, Matt Beechey wrote: I am writing a php website for users to edit a global whitelist for Spam Assassin - all is going fairly well considering I hadn't ever used php until a couple of days ago. My problem is I need to

[PHP] Problem with EXEC and PASSTHRU

2006-10-25 Thread Matt Beechey
I am writing a php website for users to edit a global whitelist for Spam Assassin - all is going fairly well considering I hadn't ever used php until a couple of days ago. My problem is I need to restart AMAVISD-NEW after the user saves the changes. I've acheived this using SUDO and giving the

Re: [PHP] Problem with EXEC and PASSTHRU

2006-10-25 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-10-25 20:35:29 +1300: I am writing a php website for users to edit a global whitelist for Spam Assassin - all is going fairly well considering I hadn't ever used php until a couple of days ago. My problem is I need to restart AMAVISD-NEW after the user saves the

[PHP] problem with exec

2003-08-20 Thread Gabi Moise
Hi, I am trying to run a .php page using the exec: I have the two pages: load.php: exec(E:\PHP\php.exe F:\WORK\Load\load1.php); And load1.php: $f = fopen(F:\\WORK\\Load\\test.txt,w); fputs($f,hola!); fclose($f); However, it does not work as I expect too, around 30

[PHP] Problem with exec, shell_exec

2001-05-18 Thread Charles Williams \(CEO\)
below you'll see a bit of code that is not working for me. I have tried exec, shell_exec, passthru, system. nothing works. If I copy the echoed copy of the command and paste it in an SSH session it works 100%. all of the exec, and such use the 'sh' shell. So I changed to that shell to verfy

Re: [PHP] Problem with exec, shell_exec

2001-05-18 Thread Charles Williams \(CEO\)
18, 2001 2:38 PM Subject: [PHP] Problem with exec, shell_exec below you'll see a bit of code that is not working for me. I have tried exec, shell_exec, passthru, system. nothing works. If I copy the echoed copy of the command and paste it in an SSH session it works 100%. all of the exec

Re: [PHP] Problem with Exec()

2001-01-17 Thread Zbynk kvor
Hello, Is there anybody in this conference who can tell me whether exec() will work under WinNT in future PHP releases? I am bound to use Windows. Currently I am working this around so that I have a daemon under NT. Daemon watches out for commands, written by PHP into a file, and does the

RE: [PHP] Problem with Exec()

2001-01-15 Thread Jon Haworth
| | It should also be noted that the system interaction functions (namely, | passthru(), exec(), system() and popen()) are | broken/incorrectly implemented, | actually, its windows that's incorrectly implemented, but be | that as it may, the | functions do not work with windows). Well, I

[PHP] Problem with Exec()

2001-01-12 Thread Jon Haworth
Hello list, I'm having a problem with Exec and Sendmail, on PHP-4 running under Apache 1.3.14 on Windows NT. When I go to a DOS prompt and enter d:\sendmail\sendmail -t -messagefile=d:\sendmail\msg.txt it works fine. When I have any of the lines exec ("d:\sendmail\sendmail.exe -t

Re: [PHP] Problem with Exec()

2001-01-12 Thread Richard Lynch
Original Message - From: Jon Haworth [EMAIL PROTECTED] Newsgroups: php.general Sent: Friday, January 12, 2001 10:13 AM Subject: [PHP] Problem with Exec() Hello list, I'm having a problem with Exec and Sendmail, on PHP-4 running under Apache 1.3.14 on Windows NT. When I go to a DOS pr

Re: [PHP] Problem with Exec()

2001-01-12 Thread Sterling Hughes
(list(,$line) = each($results)){ echo $line, "BR\n"; } if ($error){ echo "OS Error $error. Usually path/permissions.BR\n": } - Original Message - From: Jon Haworth [EMAIL PROTECTED] Newsgroups: php.general Sent: Friday, January 12, 2001 10:13 AM Subject: