ciao a tutti ho inserito nel mio sito un contatore di utenti online, per prendere l'ip dagli utenti ho utilizzato questo tag:
$ip = $_SERVER['REMOTE_ADDR'];
solo che da quando l'ho inserito non mi fa più vedere il sito, mi compare questo messaggio d'errore:
INTERNAL SERVER ERROR
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, postmaster@sito.it and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
ho provato a sostituire quel tag con:
$ip = @$REMOTE_ADDR;
ma mi da ugualmente problemi.
Come potrei risolvere?
La cosa strana è che nell'ufficio di Milano mi da questo errore, invece nell'ufficio di Roma il sito si vede correttamente![]()