Posted by TechieGrl on 08/20/07 22:16
> //set the url
> curl_setopt($c, CURLOPT_URL, "http://www.example.com/");
Following the example as you have it worked great and gave me the
initial page information! But the problem is that I am not sure how
get to the page that I really need given how the url is created.
I need to hit this page - www.example.com/sessionId/page.html
My initial thought is to go to the main web site - www.example.com.
When I go to that site, I'm automatically redirected to a page that
has the session variable inserted into the url - www.example.com/sessionId/page.html
page.html is actually where the data is that I'm grabbing.
It seems as if I need to sent in 2 CURLOPT_URL values, but that's
where the session variable becomes a problem because it now thinks
that I have 2 separate sessions.
Maybe I'm approaching this all wrong.
[Back to original message]
|