Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

aypi adresi

By: a guest on Apr 6th, 2011  |  syntax: PHP  |  size: 0.18 KB  |  views: 67  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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.         }