Jump to content


Photo

Root Includes On IIS Windows


  • Please log in to reply
1 reply to this topic

#1 JustinK101

JustinK101
  • Members
  • PipPipPip
  • Advanced Member
  • 503 posts
  • LocationSan Diego, California, US

Posted 24 October 2006 - 10:44 PM

Hello, I want to do an include telling to go to the root/home directory then following the path I provide. Usually this is done with a forward slash before the path. Does'nt seem to work with the php include call though. Works with img src paths and such. Seems to be a php issue. Thanks for anybody who can assist me. Currently I have:

require ("/includes/footer.php");

Not working though.

Fatal error: require() [function.require]: Failed opening required '' (include_path='.;C:\php5\pear') in D:\vhosts\ftoperations.net\httpdocs\timesheets\includes\check_credentials.php on line 6


#2 JustinK101

JustinK101
  • Members
  • PipPipPip
  • Advanced Member
  • 503 posts
  • LocationSan Diego, California, US

Posted 24 October 2006 - 11:26 PM

I think I figured it out!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users