Re: Re: Re: Freshmeat question
| From: | David T-G | Date: | Tue, 21 Jan 2003 10:58:12 +0000 |
| Subject: | Re: Re: Re: Freshmeat question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132382@lists.php.net to get a copy of this message | ||
Deco --
..and then De deco said...
%
% I am not new to programming, just to scripting languages. I have seen that Perl has some high
advanced sintaxes for string processing, for example, but I don't know if the same level can
also be achieved in PHP...?
PHP is quite perl-ish, and supports some extended functions borrowed
straight from Perl.
%
% As for the script below, could I run it inside a (my) browser? This could be in any browser?
A browser won't run a php script; in a web surfing context it's the
server that runs it, just like a mod_perl script.
Just like Perl, though, you can
php /path/to/myscript.php
from the command line (if you built php to not only install a web server
module but also generate a standalone executable) and away you go. You
might want to use -q to turn off the http header output.
So the short answer is "no", but don't let it throw you.
HTH & HAND
:-D
--
David T-G * There is too much animal courage in
(play) davidtg@justpickone.org * society and not sufficient moral courage.
(work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/ Shpx gur
Pbzzhavpngvbaf Qrprapl Npg!