codice:
onclick="alert('Il file già esiste !!'); window.location.href='test.php';"
ciao