Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function aypi(){
- if($this->input->ip_address() == ''){
- $ip = $_SERVER['REMOTE_ADDR'];
- }else{
- $ip = $this->input->ip_address();
- }
- return $ip;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement