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 nee

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 c

Re: [PHP] Problem with exec, shell_exec

2001-05-18 Thread Charles Williams \(CEO\)
Have located ( I think ) the problem. I have been calling 'super' from the php script and when I call 'cadduser' it works perfect but when I call 'caddvsite' I get an 'Unable to setgid=0' error. Any idea why this would happen? Both executables are owned by root.root and permission of both are s

Re: [PHP] Problem with Exec()

2001-01-17 Thread Zbyněk Š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 exec()

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 guess

Re: [PHP] Problem with Exec()

2001-01-12 Thread Sterling Hughes
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). To the original poster:

Re: [PHP] Problem with Exec()

2001-01-12 Thread Richard Lynch
First, make sure that sendmail is something the iUSR_machinename can run -- Just because you logged in as you can run it doesn't mean that the user that Apache/PHP is running as can run it. Next, forget about that goofy DOS backslash thing. Just use "/" for your paths. Finally, add the optional