neden PHP'nin kıvrılma yoluyla formu göndermek değil mi?

2 Cevap php
 $ua_s = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14';
 $c = curl_init($the_url);
 curl_setopt($c, CURLOPT_RETURNTRANSFER, true);
 curl_setopt($c, CURLOPT_FOLLOWLOCATION, 1);
 curl_setopt($c, CURLOPT_USERAGENT, $ua_s); 
 curl_setopt($c, CURLOPT_POST, true);
 curl_setopt($c, CURLOPT_POSTFIELDS, $post_string);
 $cont = curl_exec($c);
 curl_close($c);

Gerekli tüm alanları gönderebilirsiniz ama düzgün göndermek için başarısız. test html formunu yazdı - tüm tarayıcı çok aferin olduğunu:

2 Cevap

Hedef komut dosyası olarak aynı etki alanı içinde olduğu için belirli bir tanımlama mevcut olduğu ya da yönlendirme gerektirebilir.

Nasıl $ post_string gibi görünüyor nedir? Bu urlencoded mı?