CHAMPS ID INCOMPLET"; exit(); } if(empty($url)) { print "CHAMPS URL INCOMPLET"; exit(); } if(file_exists("$id.udv")) { print ""; } else { $fp=fopen("$id.udv","w"); fputs($fp,"0"); fclose($fp); } $fichier="$id.udv"; $fp=fopen("$fichier","r+"); $hits=fgets($fp,10); $hits++; fseek($fp,0); fputs($fp,$hits); fclose($fp); Header("Location: $url"); ?>