Jason Wong wrote...
Try specifying the full path to the python binary and possibly the full
path
to ncMailer.py as well.
Good suggestion! I switched everything over to absolute paths, as I should
have done in the first place. Unfortunately, this didn't solve the problem.
Still searching,
On Saturday 04 January 2003 16:29, gilrain wrote:
Try specifying the full path to the python binary and possibly the full
path
to ncMailer.py as well.
Good suggestion! I switched everything over to absolute paths, as I should
have done in the first place. Unfortunately, this didn't
Jason Wong wrote:
Does the webserver have permission to:
(a) execute the python binary
(b) access and read ncMailer.py
Thanks for all the help! I really appreciate it. :)
Hm, I'm actually not sure if my host allows that. This could definitely be
the problem. Is there a simple way to
I'm back to square one, if I can't run that
script without the browser waiting on it to finish...
For instance, is there a way for my PHP script to log into my shell account
and *then* send the command? Since I can execute the script, but PHP can't,
this would solve the problem -- if it's
..
cheers
Brendon
-Original Message-
From: gilrain [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 04, 2003 8:04 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] exec() not exec-ing?
I'm back to square one, if I can't run that
script without the browser waiting on it to finish
On Saturday 04 January 2003 14:20, gilrain wrote:
// Close file, call script in background, return.
fclose($mailing);
exec(python ncMailer.py /dev/null );
return true;
}
The mailing file is written fine, and the Python script parses the file and
e-mails fine, as long as I run
6 matches
Mail list logo