I\'m sure this is a simple solution, just haven\'t found exactly what I needed.
Using php, i have a variable $source. I wanna check if $source starts with \'http\'.
if(strpos($source, 'http') === 0) //Do stuff