function Online_GetIP() { if (getenv('HTTP_CLIENT_IP')) returngetenv('HTTP_CLIENT_IP'); if (getenv('HTTP_X_FORWARDED_FOR')) returngetenv('HTTP_X_FORWARDED_FOR'); if (getenv('HTTP_X_FORWARDED')) returngetenv('HTTP_X_FORWARDED'); if (getenv('HTTP_FORWARDED_FOR')) returngetenv('HTTP_FORWARDED_FOR'); if (getenv('HTTP_FORWARDED')) returngetenv('HTTP_FORWARDED'); return$_SERVER['REMOTE_ADDR']; } ?>
Bearbeitung:
mist... zu langsam
-- class God : public ChuckNorris { };Dieser Post wurde am 15.07.2004 um 18:47 Uhr von FloSoft editiert.