RE: [PHP] using eregi

2002-01-31 Thread Niklas Lampén
You could do it like this: "; }; ?> Niklas -Original Message- From: John Gurley [mailto:[EMAIL PROTECTED]] Sent: 31. tammikuuta 2002 15:32 To: [EMAIL PROTECTED] Subject: [PHP] using eregi Hello, Just wondering if there is a way to print out parts of a text file (i.e from l

[PHP] using eregi

2002-01-31 Thread John Gurley
Hello, Just wondering if there is a way to print out parts of a text file (i.e from line x to line y) using php, the way it is being done now is using eregi and comparing strings, but it would be alot better if I could specify which lines to print. Thanks a million. _

[PHP] using eregi - what regular expression rules does it use ? works in linux ( grep ) but not PHP - help needed

2002-01-16 Thread Neil
There not much documentation in the online manual about eregi. Apart from the usage I need to know more about what regx it uses, in the linux shell , using grep i got it right for my needs .. I want to find and reject content with email address .. [desiredating@opie desiredating]$ echo "[EMAIL