<?php $file = 'http://simon.bennett.im'; if (preg_match('\(^(http|ftp)://)/i', substr($file, 0, 10))) { echo 'yes'; } else { echo 'no'; }
You have javascript disabled. You will not be able to edit any code.