user4fun Posted September 15, 2007 Share Posted September 15, 2007 What complicated would it be to do the following.1) bring out a list of domain sites form a table // doneopen them in a new in a new window // donesearch their source file for a matching variable.display the domain that have a matchexampledomain1.comdomain2.comdomain3.com$key= "w3schools"looks through the source code file of the domains and look for a match for variable $keythen listdomain1.com as a hit and ignored domain 2 and 3 based on the fact that w3schools is not mentioned on main page. Link to comment Share on other sites More sharing options...
jhecht Posted September 16, 2007 Share Posted September 16, 2007 you're going to end up using join,file, and preg_replace to get rid of HTML and comments. Link to comment Share on other sites More sharing options...
justsomeguy Posted September 17, 2007 Share Posted September 17, 2007 You can use strip_tags to remove the HTML tags, and then use strpos or stripos to check for the presence of a certain string, or you can use substr_count to count how many times a substring appears. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.