you obviously cant actually control the content of the linked page, but you can make sure that the syntax is valid:
if (ereg("^(http|https|ftp)\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+&%\$#\=~])*$ ", $_POST['url'])) {
print "url is valid";
}
else {
print "url is invalid";
}
(thats at least the regex i use ;-) )