nemec Posted May 30, 2006 Report Share 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.. Link to comment Share on other sites More sharing options...
Kavacky Posted May 30, 2006 Report Share Posted May 30, 2006 getenv('REMOTE_ADDR'); Link to comment Share on other sites More sharing options...
nemec Posted May 31, 2006 Author Report Share 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 Link to comment Share on other sites More sharing options...
v3rb0 Posted June 1, 2006 Report Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts