Re: Searching remote web sites for content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



you could probably use curl to grab the source for the page then use a regex
to see if your domain is found maybe something like

if(preg_match("/www\.domain\.com/is")) // match found
else // not found

dont quote me on the regex as i am not very good with regex, also you would
want a button in the admin area that you push to check and return the
results in a nice table. You would not want this check to run with every
page load as curl could be time consuming depending on the speed of the site
you are checking.


--
Joseph Crawford Jr.
Zend Certified Engineer
Codebowl Solutions, Inc.
1-802-671-2021
codebowl@xxxxxxxxx

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux