Advertisement
Guest User

aypi adresi

a guest
Apr 6th, 2011
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.18 KB | None | 0 0
  1.     function aypi(){
  2.        
  3.         if($this->input->ip_address() == ''){
  4.  
  5.             $ip = $_SERVER['REMOTE_ADDR'];
  6.  
  7.         }else{
  8.  
  9.             $ip = $this->input->ip_address();
  10.  
  11.         }
  12.        
  13.         return $ip;
  14.        
  15.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement