Page 1 of 1

Search engine

Posted: Wed Oct 19, 2011 5:04 pm
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

Re: Search engine

Posted: Thu Oct 20, 2011 11:07 am
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"