获取用户的真实IP

2016-6-15 liyangweb.com 李杨 PHP

function getRealIpAddr()  
{  
    if (!emptyempty($_SERVER['HTTP_CLIENT_IP']))  
    {  
        $ip=$_SERVER['HTTP_CLIENT_IP'];  
    }  
    elseif (!emptyempty($_SERVER['HTTP_X_FORWARDED_FOR']))  
    //to check ip is pass from proxy  
    {  
        $ip=$_SERVER['HTTP_X_FORWARDED_FOR'];  
    }  
    else  
    {  
        $ip=$_SERVER['REMOTE_ADDR'];  
    }  
    return $ip;  
}

评论:

glennloovens
2019-02-11 19:25
<a href="http://www.swnblog.com/adidas-soccer-boots-for-sale-zapatosu">adidas soccer boots for sale</a> <a href="http://www.weimpactmds.com/nike-flyknit-air-max-lyser%C3%B8d-king-chaussuresa">nike flyknit air max lyser酶d king</a> <a href="http://www.relsflorida.com/ferrell-yogi-11-jersey-nflc">ferrell yogi 11 jersey</a> <a href="http://www.votuongluan.com/air-jordan-1-shorts-jordan-infrared-runningg">air jordan 1 shorts jordan infrared</a> <a href="http://www.hanayaflowers.com/zdeno-chara-33-boston-bruins-reebok-premier-alternate-jersey-small-nflv">zdeno chara 33 boston bruins reebok premier alternate jersey small</a> <a href="http://www.jlchatlaw.com/jordan-melo-one-new-gold-trainersa">jordan melo one new gold</a>
glennloovens http://www.glennloovens.com/
carlinandcompany
2019-01-27 22:06
<a href="http://www.publiswiss.net/salomon-s-lab-fellcross-2-maschio-bianca-chaussuresc">salomon s lab fellcross 2 maschio bianca</a> <a href="http://www.puffyp.net/adidas-superstar-gr%C3%A5-berlin-kurpesg">adidas superstar gr氓 berlin</a> <a href="http://www.radiosbestfriend.net/nike-zoom-hyperrev-2015-bleu-lagoon-key-schuhea">nike zoom hyperrev 2015 bleu lagoon key</a> <a href="http://www.relaxmassagestudio.net/nike-free-5.0-tr-nero-butyf">nike free 5.0 tr nero</a> <a href="http://www.risaralda.net/nike-femmes-cortez-basic-cuir-kurpesd">nike femmes cortez basic cuir</a> <a href="http://www.santfeliucentre.net/nike-free-trainer-5.0-blanco-gum-medium-marr%C3%B3n-butya">nike free trainer 5.0 blanco gum medium marr贸n</a>
carlinandcompany http://www.carlinandcompany.net/
crisgarrett
2019-01-17 18:52
<a href="http://www.helpforaspen.com/nike-tedy-bruschi-blackcamo-salute-to-service-new-england-patriots-nfl-54-t-shirt-nflr">nike tedy bruschi blackcamo salute to service new england patriots nfl 54 t shirt</a> <a href="http://www.mcmartial.com/bon-march%C3%A9-nike-kobe-7-hommes-rouge-skoa">bon march茅 nike kobe 7 hommes rouge</a> <a href="http://www.puurderleven.com/adidas-zx-630-black-red-jordan-sneakere">adidas zx 630 black red jordan</a> <a href="http://www.ipartybooths.com/mujeres-air-jordan-retro-2-naranja-p%C3%BArpura-kurpesa">mujeres air jordan retro 2 naranja p煤rpura</a> <a href="http://www.senegalreview.com/air-max-93-og-pas-cher-sneakerb">air max 93 og pas cher</a> <a href="http://www.poshandpearls.com/air-jordan-4-mist-blue-view-shoesf">air jordan 4 mist blue view</a>
crisgarrett http://www.crisgarrett.com/
the new nike free
2019-01-16 06:01
<a href="http://www.ngprieska.com/mennns-salomon-gcs-athletic-trail-oransje-gr%C3%B8nn-kurpesc">mennns salomon gcs athletic trail oransje gr酶nn</a> <a href="http://www.planitcpm.com/suppliers-adidas-eqt-recommended-support-adv-cg2950-for-zapatosu">suppliers adidas eqt recommended support adv cg2950 for</a> <a href="http://www.veggietracks.com/amari-cooper-shirt-jersey-nflt">amari cooper shirt jersey</a> <a href="http://www.fchsbulldogs.com/full-sleeve-polo-t-shirts-online-shopping-polor">full sleeve polo t shirts online shopping</a> <a href="http://www.bodobe.com/adidas-zx-flux-navy-blue-sale-runninge">adidas zx flux navy blue sale</a> <a href="http://www.chrisascut.com/prada-ladies-sunglasses-pradar">prada ladies sunglasses</a>
the new nike free http://www.cokhithinhanh.com/the-new-nike-free-sportsa
divyangbazar
2019-01-09 04:47
<a href="http://www.heslaatours.com/adidas-damian-lillard-basketball-shoes-runninge">adidas damian lillard basketball shoes</a> <a href="http://www.prostekrasna.com/nike-acg-air-mowabb-dark-obsidian-navy-zapatosu">nike acg air mowabb dark obsidian navy</a> <a href="http://www.altharmony.com/air-jordan-flight-9-gr%C3%A5-svart-hvit-chaussuresa">air jordan flight 9 gr氓 svart hvit</a> <a href="http://www.cosmicupcake.com/game-vinnie-sunseri-jersey-new-orleans-saints-43-home-black-nflf">game vinnie sunseri jersey new orleans saints 43 home black</a> <a href="http://www.btmtecled.com/adidas-superstar-flex-copper-white-runningg">adidas superstar flex copper white</a> <a href="http://www.torcgunstore.com/35-authentic-grant-hill-detroit-pistons-jersey-mens-adidas-nba-purple-throwback-1995-all-nflv">35 authentic grant hill detroit pistons jersey mens adidas nba purple throwback 1995 all</a>
divyangbazar http://www.divyangbazar.com/
gaeconomics
2019-01-08 13:40
<a href="http://www.apexmartin.com/air-max-90-pelle-bianca-schuhec">air max 90 pelle bianca</a> <a href="http://www.hurenindex.com/jordan-6-bianca-blu-gs-schuheg">jordan 6 bianca blu gs</a> <a href="http://www.jeffdiblasi.com/lebron-12-neon-gr%C3%B8n-paint-kurpesc">lebron 12 neon gr酶n paint</a> <a href="http://www.jknets.com/adizero-f50-gituttio-messi-obuvg">adizero f50 gituttio messi</a> <a href="http://www.jmvilalta.com/batman-nike-dunks-for-verkauf-scarpee">batman nike dunks for verkauf</a> <a href="http://www.nemoutrading.com/air-max-2015-oransje-ky-butya">air max 2015 oransje ky</a>
gaeconomics http://www.gaeconomics.com/
cvceurope
2019-01-03 11:44
<a href="http://www.phantomlites.net/hommes-nike-free-5.0-violet-jaune-schuhef">hommes nike free 5.0 violet jaune</a> <a href="http://www.pioneerspirit.net/asics-gel-noosa-tri-9-flash-amarillo-p%C3%BArpura-armada-quilt-butye">asics gel noosa tri 9 flash amarillo p煤rpura armada quilt</a> <a href="http://www.pizzablitzmd.net/nike-lunarglide-7-kvinders-guld-r%C3%B8d-butya">nike lunarglide 7 kvinders guld r酶d</a> <a href="http://www.pleinairjourney.net/asics-gel-noosa-tri-10-femmes-fonctionnement-chaussures-ss15-obuvb">asics gel noosa tri 10 femmes fonctionnement chaussures ss15</a> <a href="http://www.powersellingmom.net/arancia-and-nero-jordan-12-scarped">arancia and nero jordan 12</a> <a href="http://www.pricespotter.net/nike-free-3.0-v5-nero-volt-torque-schuhef">nike free 3.0 v5 nero volt torque</a>
cvceurope http://www.cvceurope.net/
coinsofnepal
2019-01-01 05:06
<a href="http://www.eobvas.com/nike-air-force-1-mid-07-gr%C3%A5-hvid-butya">nike air force 1 mid 07 gr氓 hvid</a> <a href="http://www.fxbases.com/nike-hypervenom-gr%C3%B8n-turf-schuhed">nike hypervenom gr酶n turf</a> <a href="http://www.affairday.com/nike-air-rejuven8-mule-gituttio-rosa-chaussuresd">nike air rejuven8 mule gituttio rosa</a> <a href="http://www.bedayatak.com/maschio-nike-air-force-1-oro-nero-obuve">maschio nike air force 1 oro nero</a> <a href="http://www.bisorum.com/air-jordan-future-marron-noir-kurpesd">air jordan future marron noir</a> <a href="http://www.cbdpharmies.com/adidas-springblade-drive-techfit-zapatos-venta-schuhec">adidas springblade drive techfit zapatos venta</a>
coinsofnepal http://www.coinsofnepal.com/
nrthofhere
2018-12-31 15:50
<a href="http://www.joemaniophoto.com/jordan-11-low-snakeskin-gr%C3%BCn-for-verkauf-scarpeb">jordan 11 low snakeskin gr眉n for verkauf</a> <a href="http://www.normraeber.com/nfl-ethan-westbrooks-youth-limited-olive-jersey-95-los-angeles-rams-nike-2017-salute-to-service-nfls">nfl ethan westbrooks youth limited olive jersey 95 los angeles rams nike 2017 salute to service</a> <a href="http://www.plugginto.com/nike-air-presto-ultra-breathe-vert-scarpeg">nike air presto ultra breathe vert</a> <a href="http://www.satonni.com/femmes-air-jordan-retro-3-rose-noir-obuvc">femmes air jordan retro 3 rose noir</a> <a href="http://www.spicesheaven.com/air-max-1-blau-lagoon-scarpea">air max 1 blau lagoon</a> <a href="http://www.xisymbols.com/salomo-s-lab-xt-blau-schwarz-schuheb">salomo s lab xt blau schwarz</a>
[url=http://www.nrthofhere.com/]nrthofhere[/url]
spangleapp
2018-12-28 15:20
<a href="http://www.tdsurvivalkit.com/youth-chuck-bednarik-limited-camo-nike-jersey-nfl-philadelphia-eagles-60-rush-realtree-nflx">youth chuck bednarik limited camo nike jersey nfl philadelphia eagles 60 rush realtree</a> <a href="http://www.zpackrat.com/mens-nike-dallas-cowboys-80-rico-gathers-limited-white-throwback-alternate-nfl-jersey-nflw">mens nike dallas cowboys 80 rico gathers limited white throwback alternate nfl jersey</a> <a href="http://www.antarlor.com/lebron-12-low-university-r%C3%B8d-and-hvit-chaussuresa">lebron 12 low university r酶d and hvit</a> <a href="http://www.asynea.com/nike-air-max-bw-ultra-se-team-rosso-uk-butya">nike air max bw ultra se team rosso uk</a> <a href="http://www.barinotomotiv.com/kvinders-nike-free-tr-gr%C3%A5-r%C3%B8d-butyc">kvinders nike free tr gr氓 r酶d</a> <a href="http://www.cakemilitia.com/air-jordan-retro-12-gamma-bl%C3%A5-bl%C3%A5-obuvg">air jordan retro 12 gamma bl氓 bl氓</a>
spangleapp http://www.spangleapp.com/

发表评论:

Powered by emlog 冀ICP备13011830号-1