[PHP] run from telnet...like PERL?

2002-06-05 Thread Robert Packer

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?

Thanks for any advice..

Robert Packer



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] run from telnet...like PERL?

2002-06-05 Thread Miguel Cruz

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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] run from telnet...like PERL?

2002-06-05 Thread Jason Morehouse

Also be sure and up the execution time of the script.

?
set_time_limit(1);
?


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 ([EMAIL PROTECTED])
 Netconcepts LTD - Auckland, New Zealand
 * Linux: Because rebooting is for adding hardware.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php