You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
882 B
PHP
47 lines
882 B
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Head First PHP & MySQL</title>
|
|
<style>
|
|
@import url(../main.css);
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>Head First PHP & MySQL</h1>
|
|
|
|
<main>
|
|
<h2>Projects</h2>
|
|
<ul>
|
|
<li><a href="abduction_form.html">Alien Abduction</a></li>
|
|
</ul>
|
|
|
|
<h2>Who Am I?</h2>
|
|
<p>
|
|
<?php
|
|
print shell_exec( 'whoami' );
|
|
?>
|
|
</p>
|
|
</main>
|
|
|
|
<footer id="vLinks">
|
|
</footer>
|
|
|
|
<script>
|
|
var loc = window.location.href;
|
|
|
|
var linkStr = '<a href="http://validator.w3.org/check?uri=';
|
|
linkStr += loc;
|
|
linkStr += '">\n<strong> HTML </strong> Valid! </a> |';
|
|
linkStr +=' <a href="http://jigsaw.w3.org/css-validator/validator?uri='
|
|
linkStr += loc;
|
|
linkStr += '?profile=css3">\n<strong> CSS </strong> Valid! </a>'
|
|
console.log(linkStr);
|
|
|
|
var footer = document.getElementById("vLinks");
|
|
console.log(footer);
|
|
footer.innerHTML = linkStr;
|
|
</script>
|
|
</body>
|
|
</html>
|