Hey, I’m coding a some kind of filter which is being used to give out an echo whenever this link has been checked by the filter.
Example:
if ($_POST['check'] == '') {
echo"Please enter a URL.";
}
elseif ($_POST['check'] ==
'http://funpic.de' ||
'http://knuddels-bots.com') {
echo"This link is harmful.";
}
else {
echo"This link is not harmful.";
}
Though, even If i check http://google.com, it says “Link is harmful”. I think it is because maybe it only identifies the first link, not the links below funpic.de. Anyone any idea how to prevent that?