\r\n"); echo("FICHIER INEXISTANT !\r\n"); echo("FICHIER INEXISTANT !\r\n"); echo("\r\n"); exit(); } //----------------------------------------------------------------------- if (file_exists("pwd".$sep.".txt")) { $fp = fopen("pwd".$sep.".txt", "r"); $ligne1=fgets($fp,255); $ligne1=trim($ligne1); if ($ligne1==$sep.",".$pwd ) //-- { } else{ //echo "password incorrect "; echo("\r\n"); echo("Password incorrect !\r\n"); echo("Password incorrect !\r\n"); echo("\r\n"); //echo "password incorrect ".$sep." - ".$pwd; //fclose($fp); exit(); } } else{ //echo "fichier passwrd n'existe pas!!! "."pwd".$sep.".txt"; echo "Configuation de service manquante (pwdxxx) inexistant!!! "; exit(); } //--------------------------------------------------------------------- $fp = fopen("Interface_Wintax\#04".$sep.".txt","a"); $var="#04".$sep;//.",".$etat; fputs($fp,$var) ; fclose($fp); $p=false; while($p==false){ if (file_exists("Interface_Wintax\#04".$sep.".txt")) { } else{ $p=true; } } echo("\r\n"); echo("".$p."\r\n"); echo("\r\n"); //--------------------------------------------------------------------- //echo("\r\n"); //echo("Pointage effectue\r\n"); //echo("\r\n"); //echo("\r\n"); //echo(" Pointage\r\n"); //echo("Stat. conso. ligne : ".$sep."\r\n"); //echo("0\r\n"); //echo("0\r\n"); //echo(" http://".$ip."/Services_Cisco/png".$sep.".png\r\n"); // echo("\r\n"); //*************************************************** //*************************************************** ?>