This question already has an answer here:
I have this .php file (index2.php)
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php
echo "Hola, como estas??";
?>
</body>
</html>
I saved it on : file:///home/josue/Desarrollo/lab.local/index2.php and when I go to this direcction on the web browser, the web browser wants to download it. I am not using any web server, I just want to open it from that directory. I want to display: Hola, como estas?? on the web browser.
Aucun commentaire:
Enregistrer un commentaire