include full url to site?
Posted: Fri Jun 21, 2002 9:10 am
how would you include the full url of the site in an include?
in my errors when the page can't be found it shows:
'S:\Inetpub\sites\smyr argetroot php\headlines.txt'
so i put it in the include:
<? include("S:\Inetpub\sites\smyr\targetroot\nphp\headlines.txt") ?>
but i get this:
Warning: Failed opening 'S:\Inetpub\sites\smyr argetroot php\headlines.txt' for inclusion (include_path='.;c:\php4\pear') in S:\Inetpub\sites\smyr\targetroot\right8.php on line 109
am i missing something?
or is it just a typing mistake?
in my errors when the page can't be found it shows:
'S:\Inetpub\sites\smyr argetroot php\headlines.txt'
so i put it in the include:
<? include("S:\Inetpub\sites\smyr\targetroot\nphp\headlines.txt") ?>
but i get this:
Warning: Failed opening 'S:\Inetpub\sites\smyr argetroot php\headlines.txt' for inclusion (include_path='.;c:\php4\pear') in S:\Inetpub\sites\smyr\targetroot\right8.php on line 109
am i missing something?
or is it just a typing mistake?