zontrakulla Posted November 20, 2010 Share Posted November 20, 2010 Hello, I need this php code changed to preg_match please if(eregi("someurl",$data)) Thank you Quote Link to comment Share on other sites More sharing options...
salathe Posted November 20, 2010 Share Posted November 20, 2010 Hi zontrakulla, please refer to the first two numbered points on the handy (3 point) list at http://php.net/reference.pcre.pattern.posix In short, read that page and use delimiters and the case-insensitivity pattern modifier. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.