Codigo:
Código
Alguien sabe como arreglarlo?
<?php curl_setopt($handler, CURLOPT_USERAGENT,"Mozilla/5.0 (Linux; U; Android 2.2; en-us; T-Mobile G2 Build/FRF91) AppleWebKit/533.1(KHTML, like Gecko) Version/4.0 Mobile Safari/533.1"); curl_setopt($handler, CURLOPT_HTTPHEADER, array("Accept-Language: es-es,es;q=0.8", "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Proxy-Connection: keep-alive", "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3")); curl_setopt($handler, CURLOPT_URL, "http://m.tuenti.com/?m=Profile&f=processSetStatus&csrf=$total[2]"); curl_setopt($handler, CURLOPT_USERAGENT,"Mozilla/5.0 (Linux; U; Android 2.2; en-us; T-Mobile G2 Build/FRF91) AppleWebKit/533.1(KHTML, like Gecko) Version/4.0 Mobile Safari/533.1"); curl_setopt($handler, CURLOPT_HTTPHEADER, array("Content-Type: application/x-www-form-urlencoded","Content-Length: 23","Host: m.tuenti.com","Accept-Language: es-es,es;q=0.8", "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Proxy-Connection: keep-alive", "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3")); curl_setopt($handler, CURLOPT_REFERER, "http://m.tuenti.com/?m=Profile&f=processSetStatus&csrf=$total[2]"); echo $response; ?>