leamas Posted August 1, 2006 Share Posted August 1, 2006 I am just wondering if it is possible to open a page from a website (that isn't owned by me) and do a search for specific text on that page? Because I have a website that uses the same IDs from another site, I want to be able to go through my database, pick out the IDs, go to the page that is assoiated with that ID, and do a search for key text. Then at the end return a report stating what needs to be changed in my database.Is this possible? Or would I have to use Javascript and be totally lost. :( Quote Link to comment Share on other sites More sharing options...
trq Posted August 1, 2006 Share Posted August 1, 2006 Read the file into a string using [url=http://php.net/file_get_contents]file_get_contents[/url], then search the string. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.