Search engine

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
hunainrasheed
Forum Newbie
Posts: 1
Joined: Wed Oct 19, 2011 5:00 pm

Search engine

Post by hunainrasheed »

hello, i am new to php and i am in great problem please help me,
i want to make a search engine for 'best price' pharmaceuticals across all existing online pharmacies. So what it is is really a search engine for customers can use to find for e.g. Amoxil, the best price, which pharmacy, availability...
can anyone explain me, how to get through and where to start..

Thanks
User avatar
egg82
Forum Contributor
Posts: 156
Joined: Sat Oct 01, 2011 9:29 pm
Location: Colorado, USA

Re: Search engine

Post by egg82 »

well, without access to their database, getting the information would be a bit tricky. It can be done, however.

I would try using PHP to get the information outputted from their pages and store that in your database.
Basically what you're doing there is you're creating a spider for a search engine. Same thing google does.

Next use PHP to get the information from your database. It's pretty easy after you grab their info.

Oh, by the way. Using that technique, you will have to constantly "refresh" your database. IE, you need to constantly run the script that collects the information (the spider)


Another way is to forgo the database and let the user grab the information and store them in arrays for searching...



For collecting information without access to a database, see my post on "craigslist job auto-submit"
Post Reply