Issues with php form using Curl
782
Issues with php form using Curl. The below code works fine as stated
but when i wants to post the address from form fields by adding the followings, not seems to work
$data = array(
'address' => $_POST['address']
);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 1);
can anyone help
Answer
Solution:
try to send your post data as a query string
or
or
According comment error you need code:-
Answer
Solution: