Posted by monomaniac21 on 12/28/06 16:42
sorry that was typo document root contains the a forward slash
Rik wrote:
> monomaniac21 wrote:
> > Why does this find the file:
> >
> > <img
> > src="<?=$_SERVER['DOCUMENT_ROOT']?>/images/viessmann_header_logo.gif">
> >
> > But this does not?
> >
> > $right_content =
> > $_SERVER['DOCUMENT_ROOT']."includes/content/content.php";
> >
> > include $right_content;
>
> Perhaps:
> $_SERVER['DOCUMENT_ROOT']."/includes/content/content.php";
>
> Note the extra slash.
> --
> Rik Wasmus
[Back to original message]
|