Here is my problem.
I have this supplier who offers drop shipping, I decided to try to add his entire product catalogue onto my site, both sites use oscommerce too... except...
His company is obviously not very technical savvy, they wouldn't just give me a database dump and say they're working on setting up a web feed for their products. Whatever, if I don't get the products added in the next 30 days I'll miss christmas with them.
So I hired someone to make a php web crawler that'd crawl their site, parse it all, and add the products to my database. It works great.... except... their website requires you login first to see prices. So my database has no prices in it.
I could go in by hand and add them all, but i don't want to, I want an automated solution, and no, they don't have so much as a CSV pricelist.
I tried faking the form by turning it into a GET request (query string) but oscommerce accesses the variables like this:
So obviously it needs to be a post request.if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'process')) {
$email_address = tep_db_prepare_input($HTTP_POST_VARS['email_address']);
So, does anyone know of any way to use php to simulate a post request?
Bookmarks