To php programmers,
Hi all, This is Titus Cheng.
I got a problem here and I still can't find the answer, I hope someone can help me with this.
I want to do a search script using php. What it does is it will go out to certain website I specify and collect certain information from them.
So let's say I want to know the price of a shoe and I know several website that are selling this shoe. So my search script will go to these websites and just collect the information about the price and display it in a table.
I am not sure where to start, can anyone help me with this. I can't find examples to learn from...
Need help in php web search
Moderator: General Moderators
- neel_basu
- Forum Contributor
- Posts: 454
- Joined: Wed Dec 06, 2006 9:33 am
- Location: Picnic Garden, Kolkata, India
file_get_contents() on those Website use regex to get links (e.g. <a href="http://site.com/shoes") that contains shoes and grab the texts that contain Shoes.