Jump to content

include as an absolute link


jandrews3

Recommended Posts

I need to use INCLUDE as an absolute link so I can place it within all files no matter what folder I put it in. I need each and every page to load append1.php at the end, but different pages are in different folders. I'm trying to standardize as much as possible.

 

include 'append1.php';  - works but doesn't give me standardization

include '../append1.php'; - also works but, again, doesn't give me standardization

include 'http://www.ithf.org'; - doesn't work, gives me a "URL file-access is disabled" error

 

Does anybody know a solution for me? Thanks.

Link to comment
https://forums.phpfreaks.com/topic/137809-include-as-an-absolute-link/
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.