Page 1 of 1

Check string for "://"

Posted: Thu Jun 08, 2006 7:56 pm
by VKX
I want to check variable to see if it has :// in it. How would I do that?

Posted: Thu Jun 08, 2006 8:14 pm
by bdlang
You could use a regular expression, or the PHP functions strstr() or strpos().