Re: PHP Standalone scripting?
| From: | Sune Alexandersen | Date: | Tue, 18 Jul 2000 09:35:59 +0000 |
| Subject: | Re: PHP Standalone scripting? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-7045@lists.php.net to get a copy of this message | ||
> > ./configure
> > make
> > make install
> >
> > This copies a 'php' binary to /usr/local/bin
> >
> > Then a typical standalone PHP script would look like this:
> >
> > #!/usr/local/bin/php -q
> > <?
> > echo "Hello World";
> > ?>
> >
> > -Rasmus
Hi Jeff, Rasmus and all other on the list!
Is there a way to do this on a Windows platform?
And how could I run Windows System commands?
Ahh! To run PHP as a loginscript would be cool!
regards,
Sune Alexandersen
--------------------
Company site: http://www.drs.no
Private site: http://www.suneworld.com
Wap site: http://tagtag.com/suneworld
Download WebExplorer today and manage your PHP
enabled website in your webbrowser! Its free!
http://www.suneworld.com/programs
(over 1.800 downloads since release)
----- Original Message -----
From: Jeff Wolkove <php@biz-link.com>
To: PHP General List <php-general@lists.php.net>
Sent: 18. juli 2000 05:45
Subject: Re: [PHP] PHP Standalone scripting?
> Looks like I'm in business! Thanks to all who replied.
>
> Jeff
>
>
> Rasmus Lerdorf wrote:
> >
> > > I was wondering if there's a way to run php scripts
> > > on a standalone basis, as you would run a PERL script
> > > or C program? I would like to use PHP since I have
> > > written a lot of code that could be re-used to write
> > > some simple scripts that can run from cron or from a shell
> > > to do some database maintenance, send e-mails, etc.
> > >
> > > If not, are there any plans to build a standalone run-time
> > > interpreter for PHP?
> >
> > ./configure
> > make
> > make install
> >
> > This copies a 'php' binary to /usr/local/bin
> >
> > Then a typical standalone PHP script would look like this:
> >
> > #!/usr/local/bin/php -q
> > <?
> > echo "Hello World";
> > ?>
> >
> > -Rasmus
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>