Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to browse through pages automatically



Hi,

I've come across a chore that I'm not sure how to work out. Our business uses a third party company to get prices for our site. These prices can change frequently. But, our partner site has to contact yet ANOTHER site to update it's pricing database so it will feed us our prices. Yeah, I know - it's crazy, but that's the way it is, so we deal with it. Bottom line is, I need to go and "check" the prices of many products on our parter site so I can get the "real" current price. That takes a lot of time. So here's what I thought to do, if possible. Can a PHP script, when given the correct "starting" page, automatically click through the 2 pages - parse the page somehow - necessary to update the prices? It's just as if I were doing it, but the script is the "browser" instead of me. I'm thinking this can be called by a cron job. Again, I'm aware that this is an odd question and circumstance and I 'm not sure I'm explaining myself clearly. But if possible, this would be a REAL time saver. Any help is greatly appreciated.

Thanks,

Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.