Comment faire svp !
Code : Tout sélectionner
$myvars ="v1=1&v2=2";
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $myvars);
$response = curl_exec( $ch );
debug($response);
Une meilleure façon?
Code : Tout sélectionner
$myvars ="v1=1&v2=2";
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $myvars);
$response = curl_exec( $ch );
debug($response);