"Michael Hall" <[EMAIL PROTECTED]> wrote:
> I've just recently got a bit more serious with learning bash scripting and
> am surprised at how powerful it really is, in conjunction with the usual
> UNIX commands and other tools. PHP is the only choice for most things web
> related, but I'm finding t
"Ben Bleything" <[EMAIL PROTECTED]> wrote:
> Interesting method, with the lynx... I imagine that if you've only built
> the DSO, then that would be the way to do it.. if it worked.
It works.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mail
"Michael Hall" <[EMAIL PROTECTED]> wrote:
> With all the advice that has been offered so far, has it been assumed that
> php is installed in the CGI rather than DSO manner?
I haven't found this to be clear from the thread.
> Can PHP as a DSO
> interpret shell script-like files with a shebang at
On Sun, 8 Jul 2001, Ben Bleything wrote:
> Interesting method, with the lynx... I imagine that if you've only built
> the DSO, then that would be the way to do it.. if it worked. My guess
> would be, you would have to do lynx
> 'http://localhost/path/to/script/script.php' to force it to go thr
l Message-
From: Michael Hall [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 08, 2001 3:16 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Running PHP as a cron job
This looks like a good place for me to step in and maybe clear up
something I've been wondering about ...
With all the advice tha
This looks like a good place for me to step in and maybe clear up
something I've been wondering about ...
With all the advice that has been offered so far, has it been assumed that
php is installed in the CGI rather than DSO manner? Can PHP as a DSO
interpret shell script-like files with a sheba
Check the path to your php cgi executable - which php - you'll probably find that
it's #!/usr/local/bin/php
This is what the "no such file or directory" is referring to.
Chris
Don Read wrote:
> On 08-Jul-01 James, Yz wrote:
> > Hi Ben,
> >
> > When running it as a normal PHP file, I get the cr
On 08-Jul-01 James, Yz wrote:
> Hi Ben,
>
> When running it as a normal PHP file, I get the cron daemon emailing me
> stuff like:
>
> automation/mail.php: ?: No such file or directory
> automation/mail.php: =: command not found
> automation/mail.php: =: command not found
> automation/mail.php:
; To: 'James, Yz'; [EMAIL PROTECTED]
> Subject: RE: [PHP] Running PHP as a cron job
>
>
> How are you executing the script? Does it come by and run 'php
> yourscript.php' or does the script have a shebang ('#!/usr/bin/php') in
> it? I've f
,
Ben
-Original Message-
From: James, Yz [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 08, 2001 3:57 PM
To: Ben Bleything; [EMAIL PROTECTED]
Subject: Re: [PHP] Running PHP as a cron job
Hi Ben,
When running it as a normal PHP file, I get the cron daemon emailing me
stuff like:
automation/
ECTED]]
Sent: Sunday, July 08, 2001 6:57 PM
To: Ben Bleything; [EMAIL PROTECTED]
Subject: Re: [PHP] Running PHP as a cron job
Hi Ben,
When running it as a normal PHP file, I get the cron daemon emailing me
stuff like:
automation/mail.php: ?: No such file or directory
automation/mail.php: =: co
Hi Ben,
When running it as a normal PHP file, I get the cron daemon emailing me
stuff like:
automation/mail.php: ?: No such file or directory
automation/mail.php: =: command not found
automation/mail.php: =: command not found
automation/mail.php: line 7: syntax error near unexpected token
`mail(
How are you executing the script? Does it come by and run 'php
yourscript.php' or does the script have a shebang ('#!/usr/bin/php') in
it? I've found that works well... just put that as the first line, and
it behaves as a shell script (after you make it executable, of course)
Ben
-Original
13 matches
Mail list logo