Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[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