'SERVER_ADDR' The IP address of the server under which the current script is executing. 'SERVER_NAME' The name of the server host under which the current script is executing. If the script is running on a virtual host, this will be the value defined for that virtual host.
pies to najlepszy przyjaciel czlowieka i beka z przegrywow z wykopu co uskuteczniaja jakis hejt na psy XD wam to sie od tego przegrywu w glowach pie*rzy ostro #psiarze #psy
w "$SERVER['HTTPHOST']" to "HTTP_HOST" przestało być używane bo w dokumentacji (https://www.php.net/manual/en/reserved.variables.server.php) nie widzę tego albo ja coś źle patrzę...
'SERVER_ADDR'The IP address of the server under which the current script is executing.
'SERVER_NAME'
The name of the server host under which the current script is executing. If the script is running on a virtual host, this will be the value defined for that virtual host.
HTTP_*to headery, a więcHTTP_HOSTto headerHost. Także jak nie masz headera, to nie masz wartości, proste.