Jump to content

Archived

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

leamas

Create a search using PHP?

Recommended Posts

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.  :(

Share this post


Link to post
Share on other sites
Read the file into a string using [url=http://php.net/file_get_contents]file_get_contents[/url], then search the string.

Share this post


Link to post
Share on other sites

×

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.