cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: CURLOPT_POSTFIELDS not working for me

From: Superprops <superprops_at_telus.net>
Date: Thu, 05 Feb 2009 10:41:44 -0800

I solved my own problem, my php code was incorrect

if(isset($_GET['testcode']))

  $p_code = $_GET['testcode'];

should have been:

if(isset($_POST['testcode']))
  $p_code = $_POST['testcode'];

doh !
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-02-05