pro_killer Posted December 19, 2006 Report Share Posted December 19, 2006 kads varetu uzrakstti vai iedot adresi kur butu php sripts vai kas tmlz lai akd ieiet lapa paradas ip pieemeram tava ip ir 81.31.411.31 Link to comment Share on other sites More sharing options...
Val Posted December 19, 2006 Report Share Posted December 19, 2006 http://www.google.lv/search?q=php+ip&i...lient=firefox-a Link to comment Share on other sites More sharing options...
andrisp Posted December 19, 2006 Report Share Posted December 19, 2006 $_SERVER masīvs. Link to comment Share on other sites More sharing options...
briedis Posted December 19, 2006 Report Share Posted December 19, 2006 Tava ip ir <?=$REMOTE_ADDR;?> Link to comment Share on other sites More sharing options...
andrisp Posted December 19, 2006 Report Share Posted December 19, 2006 briedis, kas tas ir, ko tu uzrakstīji ? Link to comment Share on other sites More sharing options...
vabole Posted December 19, 2006 Report Share Posted December 19, 2006 Ieliec šito lapā, kurā vietā gribi un apmeklētājs redzēs savu Ip. Tikai jēga no tā nav .. <?PHP $ip=$_SERVER['REMOTE_ADDR'];echo"Tavs IP ir ".$ip." !"; ?> Link to comment Share on other sites More sharing options...
andrisp Posted December 19, 2006 Report Share Posted December 19, 2006 vabole, tā viss nesaki gan. Piem., ja pie komentēšanas atgādinam lietotājiem, ka mēs redzam viņu IP adreses, tad, iespējams, tā varēsim atturēt dažu labu no verbālās caurejas. Link to comment Share on other sites More sharing options...
v3rb0 Posted December 19, 2006 Report Share Posted December 19, 2006 ja visi, tad es ar! vai echo 'tava ip ir 81.31.411.31'; neder? :) Link to comment Share on other sites More sharing options...
rob Posted December 19, 2006 Report Share Posted December 19, 2006 te pat voruma Mr. Venom padalījās ar šādu te kodu, nosaka IP aiz prokša <?php function get_IP(){ $IP=(isset($_SERVER['REMOTE_ADDR'])?$_SERVER['REMOTE_ADDR']:'').(isset($_SERVER['HTTP_X_FORWARDED_FOR']) && $_SERVER['HTTP_X_FORWARDED_FOR']!='unknown'?' fwd '.$_SERVER['HTTP_X_FORWARDED_FOR']:'').(isset($_SERVER['HTTP_CLIENT_IP'])?' client_ip '.$_SERVER['HTTP_CLIENT_IP']:'').(isset($_SERVER['HTTP_VIA'])?' via '.$_SERVER['HTTP_VIA']:''); return $IP; } echo get_IP(); ?> Link to comment Share on other sites More sharing options...
Delfins Posted December 20, 2006 Report Share Posted December 20, 2006 tad, iespējams, tā varēsim atturēt dažu labu no verbālās caurejas. ļoti šaubos... mūsdienās šitie triki vairs nenostrādā. Uzlikts lielais mīkstais.. A (web)koderi tem bolee zin, ka to IP redz praktiski vienmēr. Link to comment Share on other sites More sharing options...
rpr Posted December 20, 2006 Report Share Posted December 20, 2006 nu tas venoma kods "ljoti paarskataams". Link to comment Share on other sites More sharing options...
bubu Posted December 20, 2006 Report Share Posted December 20, 2006 rpr: neviens tev neliedz to pārveidot. Galvenais jau ir doma - kā to var izdarīt. Kā tu to implementē, tas ir tevis paša ziņā. Katram ir savs programmēšanas stils. Link to comment Share on other sites More sharing options...
rpr Posted December 20, 2006 Report Share Posted December 20, 2006 beginerim jau vareejaat paraadiit labu piemeeru nevis, kur neko nevar izlobiit. shitaadus kodus var rakstiit tikai savaam vajadziibaam, bet tas arii viss. Link to comment Share on other sites More sharing options...
bubu Posted December 20, 2006 Report Share Posted December 20, 2006 Un kam gan citam tas kods ir ticis rakstīs, ja ne savām vajadzībām. Link to comment Share on other sites More sharing options...
rpr Posted December 20, 2006 Report Share Posted December 20, 2006 nu ja jau shis kods ir pieejams ne tikai vinjam vienam, tad tas jau noraada uz to, ka tas nav domaats vinjam vienam Link to comment Share on other sites More sharing options...
Recommended Posts