Re: [PHP] exec() not exec-ing?

2003-01-04 Thread gilrain
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,

Re: [PHP] exec() not exec-ing?

2003-01-04 Thread Jason Wong
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

Re: [PHP] exec() not exec-ing?

2003-01-04 Thread gilrain
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

Re: [PHP] exec() not exec-ing?

2003-01-04 Thread gilrain
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

RE: [PHP] exec() not exec-ing?

2003-01-04 Thread Brendon Gearin
.. 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

Re: [PHP] exec() not exec-ing?

2003-01-03 Thread Jason Wong
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