Hello,
(I did do a search because it was so simple but didn't find the answer... :rolleyes: )
I'm just confused why this include doesn't work:
<?php include("/includes/document.php"); ?>
I use Dreamweaver MX to build sites and it recognizes this code, but when viewed on my server, the include does not work.
This works:
<?php include("http://www.mysite.com/includes/document.php"); ?>
...but is a small extra step adding the domain.
I would like to know why the first include doesn't work. Is it a problem with my server?
Thanks