include_once(realpath(dirname(__FILE__). '/../../framework/common/curl.php')); /** Etape de connexion **/ $postData=array('action'=>'login', 'domain'=>'', 'login'=>'scoresdeci', 'pw'=>'catsysyo92', ); $page=getUrl("http://www.online.net/administration/identification.html", '', $postData, '', false, '', '',0); $cookies=$page['header']['Set-Cookie']; /** Etape de liste de la zone S&D **/ $postData=array('action'=>'select_domain', 'domain_id'=>'173991', ); $page=getUrl("http://www.online.net/dns.pl", $cookies, $postData, 'http://www.online.net/dns.pl', false, '', '',0); /** Suppression de la zone DNS **/ if (preg_match('/