Re: run from telnet...like PERL?
| From: | Jason Morehouse | Date: | Thu, 06 Jun 2002 04:12:13 +0000 |
| Subject: | Re: run from telnet...like PERL? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-100876@lists.php.net to get a copy of this message | ||
Also be sure and up the execution time of the script.
<?
set_time_limit(10000);
?>
On Thu, 06 Jun 2002 13:57:52 +1200, Miguel Cruz wrote:
> On Wed, 5 Jun 2002, Robert Packer wrote:
>> I wrote a script to strip the domain from an e-mail address with PHP.
>> But it will max out my lousy computer at work. The lists have about 1
>> million plus addresses on them... However, a colleague wrote a very
>> similar program with PERL and ran it from telnet and it went just fine.
>> Can PHP be run in this fashion?
>
> Build or download the standalone binary, and then it works just like
> Perl (except that you'll want to add -q to the bangpath invocation).
>
> miguel
--
Jason Morehouse (jm@netconcepts.com)
Netconcepts LTD - Auckland, New Zealand
* Linux: Because rebooting is for adding hardware.