: Bu kod neden çalışmadığını merak ediyorum
// check to see if string contains "HTTP://" in front
if(strpos($URL, "http://")) $URL = $URL;
else $URL = "http://$URL";
O önünde "http://" contiains eğer dize "HTTP :/ /" son dizesi "HTTP :/ / HTTP :/ / foo.foo" içermiyor bulmak yoksa.