Subscribeini_set and stream_context-create functions.file method to make the request:ini_set('user_agent','Lynx/2.7 libwww-FM/2.14');
$cookies = "_STATE=WAL; _VENUES=429625%2C29873%2C624016";
$opts = array(
'http'=>array(
'header'=>"Accept-language: en\r\n" .
"Referer: http://example.com/" .
"Cookie: ".$cookies."\r\n";
)
);
$context = stream_context_create($opts);
$result = file($base_url, FALSE, $context);As bonaldi says, it looks like a Tomcat app and they can be tricky...You are not logged in, either login or create an account to post comments
posted by teaperson at 11:03 AM on June 1, 2007