include problem

Posted on 16th Feb 2014 by admin

I have my root folder as:
Code: $root = $_SERVER["SITE_HTMLROOT"]; // the server root
Why does this not work when I want to include a php file:
Code: include "$root/form.php";
But the link to an image work like:
Code: <img src="<?echo $root;?>/images/pic1.gif">on the same form??

Other forums