nemec Posted May 30, 2006 Report Posted May 30, 2006 man ir lapa abrahams.lv. abrahams.lv/ban/index.php ierakstu echo $_SERVER['REMOTE_ADDR'] ; vajag izvadiities manai IP. tad failaa abrahams.lv/ban/barabam/_hello_.php ierakstu echo $_SERVER['REMOTE_ADDR'] ; izvadaas IP.. jautaajums: kaapeec pirmais IP izvadaas kreisais, bet otrais Mans - pareizais.... kaads man vareetu paskaidrot, kaadaa veidaa nolasiit lietotaaja IP adreses. Man tas ir vajadziigs lai paarbaudiit lietotaaju..
nemec Posted May 31, 2006 Author Report Posted May 31, 2006 getenv('REMOTE_ADDR'); tas vai tad nav tas pats $_SERVER['REMOTE_ADDR'] ;??? cik es no manuaalja sapratu;; bet kaa citi nolasa IP adreses??? Man vajadzeetu lietotaaja IP un lietotaa servera IP
v3rb0 Posted June 1, 2006 Report Posted June 1, 2006 (edited) echo '<pre>';print_r($_SERVER);echo '</pre>'; un http://www.google.lv/search?hl=lv&q=php+get+ip Edited June 1, 2006 by v3rb0
Recommended Posts