Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BLU] Re: php from command line?



On Fri, 8 Sep 2000, Mark Pugcam wrote:

> If you compiled PHP as an apache module - the most common way of doing it
> - then you can always call scripts from the command line like this:
> 
> lynx -dump http://localhost/script.php   (to get the formatted output)
> lynx -source http://localhost/script.php  (to get the raw html output)
> 
> You can redirect the output from the stdout to a file or progam.
> 
> I use the -dump option with some cron jobs to get things done that I used
> to have to do with perl scripts and lots of perl modules. :-)
> 
> Mark Tolman

Sweet!  Thanks.  That works great.

-------------------------------------------------------------------
DDDD   David Kramer                   http://kramer.ne.mediaone.net
DK KD  
DKK D        On a cellular level, I'm actually quite busy!
DK KD  
DDDD

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org