Hello everyone. Here's what I'm trying to do and hopefully some of you will be able to give me a few tips:
I am trying to parse information from a remote webpage. The information is dynamic, so usually I need to pass some parameters. So far it hasn't been a problem - I would just include all required params as GET or POST variables, but this one site has been driving me mad for the past two days:
They are using a load of javascript and JS scripts opening new frames etc. Ok, I got around that after all, so I'm able to get the frame I need. But in order to retrieve the information, I need to request the same page twice. It seems that after the first request, they register a cookie, and after second, they are providing the information - this is what I managed to gather so far. So, if I do that from a web browser, I get the results, but if I make the request from a .php file, I keep on getting blank results.
Can anyone, pleeeaaase give me some pointers here :bemused: Thanks in advance!
P.S. oh yeah, it's completely legit in case anyone wonders - I'm retrieving inventory information from several clients