datadl partager c'est recevoir | c très faisable avec la fonction curl !
Code :
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL,"l'url https de ta banque" );
- curl_setopt($ch, CURLOPT_FAILONERROR, 1);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt($ch, CURLOPT_TIMEOUT, 3); //times out after 4s
- curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
- curl_setopt($ch, CURLOPT_POST, 1);
- $requete=la requête necessaire à l'identification;
- Curl_setopt($ch, CURLOPT_POSTFIELDS,$requete);
- $result=curl_exec ($ch);
- curl_close ($ch);
|
ensuite tu fais un echo et pis voila ! |