Juste pour une simple correction, car j'dois être mauvais :
Code : Tout sélectionner
Local $t = 1
While 1
$line = FileReadLine($HOSTPATH & "\hosts", $t)
If $line = "127.0.0.1 " & $SITE Then
MsgBox(4096, "- Web Commander ™ - ", "Le site '" & $SITE & "' a été inscrit avec succès")
EndIf
$t += 1
WEnd
Merci




