Jump to content

Root Includes On IIS Windows


JustinK101

Recommended Posts

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
Link to comment
https://forums.phpfreaks.com/topic/24994-root-includes-on-iis-windows/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.