This simple code is from PHP & MySQL: Novice to Ninja, 6th Edition
<a href="name.php?name=Kevin">Hi, I’m Kevin!</a>
That's the only line of code at phpoop.life/name.html/.
The name.php file contains the following:
<meta name="generator" content="CoffeeCup HTML Editor (www.coffeecup.com)">
<meta name="dcterms.created" content="Sat, 10 Mar 2018 02:12:01 GMT">
<meta name="description" content="">
<meta name="keywords" content="">
$name = $_GET['name'];
echo 'Welcome to our website, ' . $name . '!';
I tried to create a virtual server, but my Intel CORE 15 doesn't support it.
Why does it download the php file rather than displaying the page?????
Your help is much appreciated. I really want to get on with this book.