Jump to content

Archived

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

JustinK101

Root Includes On IIS Windows

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

Share this post


Link to post
Share on other sites

×

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.