<?php $url = 'http://www.google.com'; if (filter_var("http://" . $url, FILTER_VALIDATE_URL)) $filter="true"; else $filter="false"; echo "Filter var result of concat with http is:" . $filter;
You have javascript disabled. You will not be able to edit any code.