Hi!
I've found there only sth like this:
function validate_url($input) {
if (!strstri($input, 'http://')) {
return false;
}
return true;
}
but this only checks if the $input variable has 'http://'...
What if the string is like 'http://http://foo.com/asdasdasd .jpg'
and for example it does not really exist...?
I need to insert only the real links (that relly exist) in the DB...
Thank You!