Well.. I want to check if the a url is valid.
So that they can not just enter things like hoadw
, adwij£1%
, but that the inserted url have to be a valid one like domain.com
.
Was thinking of a function like this:
function checkurl($url) {
if ($url = "VALID") {
return true;
}else{
return false;
}
}