2016-03-28 16 views
0
$ch = curl_init(); 
curl_setopt($ch, CURLOPT_URL,$lurl); 
curl_setopt($ch, CURLOPT_POST,1); 
curl_setopt($ch, CURLOPT_followlocation, 1); 
curl_setopt($ch, CURLOPT_POSTFIELDS,$postfields); 
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); 
curl_setopt($ch, CURLOPT_COOKIEJAR,'cookie.txt'); 

bu kod ile sorun nedir?Uyarı: curl_setopt() parametresi 2 uzun olmasını bekler, on line /home/XXXX/public_html/seo/index.php verilen dize 287

Buradaki biçimlendirmenin neden bozuk olduğunu anlatın.

+0

Bu çizgi? – Tom

+0

curl_setopt ($ ch, CURLOPT_followlocation, 1); –

cevap

0

Değişim:

CURLOPT_followlocation 

için: çizgi 287 olduğunu

CURLOPT_FOLLOWLOCATION 
+0

Bu scriptte bir sorunum var http://www.forumleecher.com/vbseo.rar –

İlgili konular