Jump to content
php.lv forumi

ip adreses


Recommended Posts

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

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

×
×
  • Create New...