Use
$this->input->ip_address();
Also, don't echo your equation. Do this instead:
$ip = $this->input->ip_address();
echo $ip;
WebDeveloper Programing PHP, CodeIgniter, HTML5, CSS3, JQUERY, Bootstrap & Scripting Tutorials
$this->input->ip_address();
$ip = $this->input->ip_address();
echo $ip;
0 comments:
Post a Comment