b3ta.com board
You are not logged in. Login or Signup
Home » Messageboard » Message 2878336 (Thread)

#
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.
(, Sat 13 Mar 2004, 22:30, archived)