Created
August 1, 2019 03:54
-
-
Save supanadit/ea48bdeecb01b5762007ed6bd2af830a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
defined('BASEPATH') OR exit('No direct script access allowed'); | |
class Admin extends CI_Controller | |
{ | |
public function index() | |
{ | |
$ip = $_SERVER['HTTP_HOST'];; | |
$arrayData = array( | |
"ip" => $ip, | |
); | |
$this->load->view('admin', $arrayData); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment