*
*/
+foreach (array("HTTP_HOST", "DOCUMENT_ROOT") as $i) {
+ if (isset($_SERVER[$i])) {
+ $$i = $_SERVER[$i];
+ }
+ }
+
+foreach (array("f_act", "f_code", "f_hash") as $i) {
+ if (isset($_GET[$i])) {
+ $$i = $_GET[$i];
+ }
+ }
+
+
$G_base = "";
ini_set("max_execution_time", "240");
$errcode = 0;
} while (FALSE);
if ($errcode) {
- singlemsg("E' occorso un errore durante la verifica della e-mail.",
- sprintf("E' occorso un errore durante la verifica della e-mail.<br><br>Codice d'errore: %d.<br>", $errcode));
+ if ($errcode == 10002) {
+ singlemsg("L'email è già stata verificata con successo.",
+ "L'email è già stata verificata con successo, ora attenda che le venga recapitata la password.");
+ }
+ else {
+ singlemsg("E' occorso un errore durante la verifica della e-mail.",
+ sprintf("E' occorso un errore durante la verifica della e-mail.<br><br>Codice d'errore: %d.<br>", $errcode));
+ }
$bdb->transaction('ROLLBACK');
}
}
}
main();
-?>
\ No newline at end of file
+?>