gloryous666 Posted March 3, 2016 Report Share Posted March 3, 2016 Am nevoie de un programator PHP care imi poate face un sistem functionand in felul urmator: Exista un cod html care apare doar la anumite tari (gen US,UK) iar la celelalte nu apare nimic in acel loc, e ca si cum n-ar exista nimic. Contact Y!M: gloryous2013 Quote Link to comment Share on other sites More sharing options...
middleftw Posted March 3, 2016 Report Share Posted March 3, 2016 Te pot ajuta eu.De ce buget dispui ? Quote Link to comment Share on other sites More sharing options...
gloryous666 Posted March 3, 2016 Author Report Share Posted March 3, 2016 14 minutes ago, middleftw said: Te pot ajuta eu.De ce buget dispui ? Ti-am dat PM. Quote Link to comment Share on other sites More sharing options...
Church Posted March 3, 2016 Report Share Posted March 3, 2016 <?php $ip = $_SERVER['REMOTE_ADDR']; $query = @unserialize(file_get_contents('http://ip-api.com/php/'.$ip)); if($query['regionName'] == 'England') { echo ' <b>you are from England</b> '; } else { echo '<b>you are from somewhere else</b>'; } ?> Se poate dezvolta foarte usor.. 2 Quote Link to comment Share on other sites More sharing options...
gloryous666 Posted March 3, 2016 Author Report Share Posted March 3, 2016 48 minutes ago, Church said: <?php $ip = $_SERVER['REMOTE_ADDR']; $query = @unserialize(file_get_contents('http://ip-api.com/php/'.$ip)); if($query['regionName'] == 'England') { echo ' <b>you are from England</b> '; } else { echo '<b>you are from somewhere else</b>'; } ?> Se poate dezvolta foarte usor.. Am adaugat Romania in loc de England si scrie "you are from somewhere else"..... Quote Link to comment Share on other sites More sharing options...
Church Posted March 3, 2016 Report Share Posted March 3, 2016 <?php $ip = $_SERVER['REMOTE_ADDR']; $query = @unserialize(file_get_contents('http://ip-api.com/php/'.$ip)); if($query['country'] == 'Romania') { echo ' <b>you are from England</b> '; } else { echo '<b>you are from somewhere else</b>'; } ?> Quote Link to comment Share on other sites More sharing options...
gloryous666 Posted March 6, 2016 Author Report Share Posted March 6, 2016 Inca caut! Quote Link to comment Share on other sites More sharing options...
DrMengele Posted March 6, 2016 Report Share Posted March 6, 2016 Daca faci plata prin btc te pot ajuta eu. Quote Link to comment Share on other sites More sharing options...