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
# [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
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
www-
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, arou
MAIL PROTECTED]>
To: "Php-General (E-mail)" <[EMAIL PROTECTED]>
Sent: Friday, May 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.
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
t
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()
|
| 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
e=d:/sendmail/msg.txt",
> $results, $error);
> while (list(,$line) = each($results)){
> echo $line, "\n";
> }
> if ($error){
> echo "OS Error $error. Usually path/permissions.\n":
> }
>
> - Original Message -
> From: Jon Haworth &l
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.
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 -messagefile
11 matches
Mail list logo