[PHP] eregi not working

2002-06-07 Thread Robert Packer

Can someone tell me why this isn't working? To me it say open the file, read
it, stick into a variable, close the file. Then search that variable (the
file) and look for the eregi statements. Can someone tell me why this only
gets the first instance of what I'm searching for? Thanks a bunch.

#!/usr/bin/php -q






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




[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