Ed Curtis wrote:
I'm trying to use preg_match to find a string in a system path.

What I need to do is see if the string '/realtors' exists in a variable named '$path'.

I know '/' is used as a container within the command itself. How do I escape it to find the string '/realtors'?

http://www.php.net/preg_quote

--
Postgresql & php tutorials
http://www.designmagick.com/

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

Reply via email to