Re: Checking for a string.
| From: | John Nichel | Date: | Tue, 29 Oct 2002 18:13:58 +0000 |
| Subject: | Re: Checking for a string. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-121917@lists.php.net to get a copy of this message | ||
preg_match()
ed@home.homes2see.com wrote:
I'm currently writting a redirect script for my site which will transfer someone to either a external link or a directory on my server. In order to do this I need to use a directive that either contains the directory path or a URL. How do I check the contents of a string to see if it contains "http"? Thanks, Ed