[code]$cookie_jar = tempnam ('tmp','cookie'); $ch = curl_init (); curl_setopt ($ch, CURLOPT_URL,'http://cc.cmbchina.com/promotion/20150401_app.htm'). curl_setopt ($ch2, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($ch2, CURLOPT_COOKIEFILE, $cookie_jar);