Hi,
My website was just upgraded from the basic shared enivorment to Linux VPS. For some reason, PHP include is not working. Example:
<html>
<body>
<?php echo date('l jS \of F Y h:i:s A'); ?>
<h1>Welcome</h1>
<?php include("header.php"); ?>
<h1>Bye</h1>
</body>
</html>
When I go to
http://74.50..../phptest.html all I see is
Welcome
Bye
What do I need to do to get this to work?
Thanks,
adez
Include needs an absolute path to the file, not a relative path.
Since your dedicated, I'm not sure what the correct absolute path is.