RE: [PHP] php stand alone

2001-07-25 Thread Adrian D'Costa

This is on my intranet and is connected for a few minutes to pick up the
mail.

Adrian

On Tue, 24 Jul 2001, scott [gts] wrote:

> but remember, if you put your cron/admin scripts into
> a directory on a publicly accessable webserver, you
> run the risk of having anonymous websurfers run your
> scripts at inopportune moments.
> 
> > -Original Message-
> > From: Gunther E. Biernat [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 24, 2001 8:32 AM
> > To: Adrian D'Costa; php general list
> > Subject: Re: [PHP] php stand alone
> >
> >
> > >How do I compile php to work as a stand alone.  Right now it is working
> > >thru the web but need to run it from a cron job.
> >
> > Have a look at http://www.php.net/manual/en/install.commandline.php
> >
> > The easiest thing of course would be to just call lynx (or any other
> > command line browser taht is able to do a HTTP request and exit (that's
> > why the "-dump")) within your cron table, e.g.:
> >
> > 0 23 * * * lynx -dump localhost/path/to/some/php/robot.php > /dev/null
> >
> >
> >
> > mit freundlichen Gruessen / yours sincerely
> >
> >
> > Gunther E. Biernat
> > Web Application Engineer
> > __
> >
> > RealNetworks GmbH   Tel.: +49-40-415204-24
> > Weidestraße 128 Fax.: +49-40-415204-11
> > 22083 Hamburg   Mail: [EMAIL PROTECTED]
> > Germany URL : http://de.real.com
> > __
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] php stand alone

2001-07-25 Thread Adrian D'Costa

Hi,

Thanks.  I will look at that **manual**.  But your suggestion of running
lynx is interesting.  

What I want to do is receive a mail to a account with a preset
subject.  On arriving at that account the php script will get the 
contents of the subject and preform other tasks.  Will the Lynx do it?

Adrian

On Tue, 24 Jul 2001, Gunther E. Biernat wrote:

> >How do I compile php to work as a stand alone.  Right now it is working
> >thru the web but need to run it from a cron job.
> 
> Have a look at http://www.php.net/manual/en/install.commandline.php
> 
> The easiest thing of course would be to just call lynx (or any other command line 
>browser taht is able to do a HTTP request and exit (that's why the "-dump")) within 
>your cron table, e.g.: 
> 
> 0 23 * * * lynx -dump localhost/path/to/some/php/robot.php > /dev/null
> 
> 
> 
> mit freundlichen Gruessen / yours sincerely
> 
> 
> Gunther E. Biernat
> Web Application Engineer
> __
> 
> RealNetworks GmbH   Tel.: +49-40-415204-24
> Weidestraße 128 Fax.: +49-40-415204-11
> 22083 Hamburg   Mail: [EMAIL PROTECTED]
> Germany URL : http://de.real.com
> __
> 
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] php stand alone

2001-07-25 Thread Adrian D'Costa

I need both.

Adrian

On Tue, 24 Jul 2001, Tyler Longren wrote:

> when you configure php, don't specify a web server to use.
> 
> ./configure --with-mysql
> would do the trick.
> 
> ./configure --with-apxs=/path/to/apxs --with-mysql
> would not do the trick
> 
> Tyler
> 
> 
> > -Original Message-
> > From: Adrian D'Costa [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 24, 2001 7:14 AM
> > To: php general list
> > Subject: [PHP] php stand alone
> > 
> > 
> > Hi,
> > 
> > How do I compile php to work as a stand alone.  Right now it is working
> > thru the web but need to run it from a cron job.
> > 
> > TIA
> > 
> > Adrian
> > 
> > 
> > -- 
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> > 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] php stand alone

2001-07-24 Thread scott [gts]

but remember, if you put your cron/admin scripts into
a directory on a publicly accessable webserver, you
run the risk of having anonymous websurfers run your
scripts at inopportune moments.

> -Original Message-
> From: Gunther E. Biernat [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 24, 2001 8:32 AM
> To: Adrian D'Costa; php general list
> Subject: Re: [PHP] php stand alone
>
>
> >How do I compile php to work as a stand alone.  Right now it is working
> >thru the web but need to run it from a cron job.
>
> Have a look at http://www.php.net/manual/en/install.commandline.php
>
> The easiest thing of course would be to just call lynx (or any other
> command line browser taht is able to do a HTTP request and exit (that's
> why the "-dump")) within your cron table, e.g.:
>
> 0 23 * * * lynx -dump localhost/path/to/some/php/robot.php > /dev/null
>
>
>
> mit freundlichen Gruessen / yours sincerely
>
>
> Gunther E. Biernat
> Web Application Engineer
> __
>
> RealNetworks GmbH   Tel.: +49-40-415204-24
> Weidestraße 128 Fax.: +49-40-415204-11
> 22083 Hamburg   Mail: [EMAIL PROTECTED]
> Germany URL : http://de.real.com
> __
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] php stand alone

2001-07-24 Thread Gunther E. Biernat

>How do I compile php to work as a stand alone.  Right now it is working
>thru the web but need to run it from a cron job.

Have a look at http://www.php.net/manual/en/install.commandline.php

The easiest thing of course would be to just call lynx (or any other command line 
browser taht is able to do a HTTP request and exit (that's why the "-dump")) within 
your cron table, e.g.:

0 23 * * * lynx -dump localhost/path/to/some/php/robot.php > /dev/null



mit freundlichen Gruessen / yours sincerely


Gunther E. Biernat
Web Application Engineer
__

RealNetworks GmbH   Tel.: +49-40-415204-24
Weidestraße 128 Fax.: +49-40-415204-11
22083 Hamburg   Mail: [EMAIL PROTECTED]
Germany URL : http://de.real.com
__



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] php stand alone

2001-07-24 Thread Tyler Longren

when you configure php, don't specify a web server to use.

./configure --with-mysql
would do the trick.

./configure --with-apxs=/path/to/apxs --with-mysql
would not do the trick

Tyler


> -Original Message-
> From: Adrian D'Costa [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 24, 2001 7:14 AM
> To: php general list
> Subject: [PHP] php stand alone
> 
> 
> Hi,
> 
> How do I compile php to work as a stand alone.  Right now it is working
> thru the web but need to run it from a cron job.
> 
> TIA
> 
> Adrian
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]