Hey,
Can someone tell me is the error below a problem with the server im running the code on or could it be a problem with my coding?
here is my line of code:
include_once $_SERVER['DOCUMENT_ROOT'].'/stafford_scripts/header.php';
Thanks
Code:Notice: Undefined index: DOCUMENT_ROOT in d:\Domains\mywebsite.ie\wwwroot\my_website\register_script.php on line 2 Warning: include_once(/stafford_scripts/header.php) [function.include-once]: failed to open stream: No such file or directory in d:\Domains\mywebsite.ie\wwwroot\my_website\register_script.php on line 2







Bookmarks