Forum Moderators: coopster
Are you getting an error?
Also know that the page must be a PHP page(not HTML) for this to work, unless you make a change in your htaccess file.
Here is another way to use the include function, which uses the full server path. Alot of times it's needed.
<?php
include($_SERVER["DOCUMENT_ROOT"] . "dm/top.php");
?>
sorry, I made an error in my first post. It should be:
<?php
include($_SERVER["DOCUMENT_ROOT"] . "/dm/top.php");
?>
I left a slash out :(
If that gives nothing, try this:
<?php
include($HTTP_SERVER_VARS["DOCUMENT_ROOT"] . "/dm/top.php");
?>
If that one works, your on an older version of PHP.
Birdman