11/1 A coworker would like to run PHP w/o a web server as a shell
script. Is this possible? Suggestions?
\_ There's a php shell, and for standalone client-side apps there's
PHP-GTK, though I'm confused as to why not just use Perl or
something.
\_ There's some PHP tools he would like to use.
\_ Fair enough. I'm kinda partial to PHP myself.
\_ Yeah, it's possible. Just make sure you install the commandline
tool (bin/php) when you build it, then you just do something like:
#!/usr/local/bin/php
<?
// your script goes here, use stuff like $_SERVER['ARGV']
?>
--dbushong |