Skip to content

Instantly share code, notes, and snippets.

@hashihei
Created May 26, 2019 07:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hashihei/3dafbb79ac0861438c0b2d4bd325cc60 to your computer and use it in GitHub Desktop.
Save hashihei/3dafbb79ac0861438c0b2d4bd325cc60 to your computer and use it in GitHub Desktop.
[myfirstcontroller]View
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>myfirstpage</title>
<!-- <meta name="description" content=""> -->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- <link rel="manifest" href="site.webmanifest"> -->
<!-- <link rel="apple-touch-icon" href="icon.png"> -->
<!-- <link rel="stylesheet" href="css/normalize.css"> -->
<!-- use laravel sample page css file -->
<link rel="stylesheet" href="css/app.css">
</head>
<body>
<!--[if lte IE 9]>
<p class="browserupgrade">IE9 can not see this page.</p>
<![endif]-->
<p>Your UserAgent : {{ $user_agent }}</p>
<p>Your Global IP address
<?php echo($ip); ?>
</p>
<p>MariaDB information(host,user)</p>
<table border="1">
<tr><td>host</td><td>user</td></tr>
<?php
$db_array = array_map(NULL, $modeldb_hosts,$modeldb_users);
foreach($db_array as $val1){
echo("<tr><td>".$val1[0]."</td><td>".$val1[1]."</td></tr>");
}
?>
</table>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment