I tried pretty much all the methods to test if path like this file:///c:/folder/texts/int.txt
or file:///d:/folder/texts/int.txt
starts with d:/
or a:/
or c:/
somothings with string :/
some one have an idea please I try to use for this
if(strpos($URL, "c:/")) $URL = $URL;
else $URL = "http://$URL";
but it test just if the url starts with c:/
and i would like that test if it beginning with somothing like "{a,b,c,.............,z}:/"
.