Jump to content

Direct Linking


karldesign

Recommended Posts

Hello all,

 

I am creating a new website that I want to define constant links for. I have defined include locations but wanted to know if I could do similar with links:

 

ie:

$site_root_path = $_SERVER['DOCUMENT_ROOT'];
include($site_root_path . '/includes/config.php');
include($site_root_path . '/includes/constants.php');

 

So, the links would work similarly? (eg: index.php, about.php, /events/index.php)

Link to comment
https://forums.phpfreaks.com/topic/88890-direct-linking/
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.