Trying to open 2 pages at the same time with curl (it sems like i have to access the first one to get access to the 2:nd).
It's working fine when running from cmdline:
curl www.hattrick.org{/Common/default.asp,/Common/regionDetails.asp\?regionID=26}
But i cant seem to get it right in my script.. This is how far i have got, but it's not right.. Would be glad för any assistance
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, "http://www.hattrick.org/"{Common/default.asp,/Common/regionDetails.asp?regionID=26}");
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_exec ($ch);
curl_close ($ch);