Jump to content

[SOLVED] Link checker returns false


Recommended Posts

What I'm trying to do is that I was to code a link checker.

It should sort out which url that belongs to the site and which that doesn't.

The problem is that it doesn't do that. It just returns all urls as false.

 

 

The valute of $url is

http://www.towerdefence.net

 

Code:

if (stristr($url , 'towerdefence.net')) {
check == "yes";
echo 'yesyesyyes';
}
else {
check == "no";
echo 'nonononon';
};

Link to comment
https://forums.phpfreaks.com/topic/115993-solved-link-checker-returns-false/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.