if(strcmp(substr($url, 0, 7), 'http://') == 0)
then it has http:// on the front.
(zero from strcmp means the same)
not sure if the slashes in that string will cause problems, but it's in single quotes so presumably not.
(
_Felix 's school of dance and occult sciences,
Sat 13 Mar 2004, 22:30,
archived)