Jump to content

[SOLVED] includes


plutomed

Recommended Posts

becuse when you use the forward slash "/" you are refering to the root directory of the web folder...

 

i.e. if your web directory is c:\www_folder\htdocs\mysite then you use

 

include "/file.php";

 

then the server would look for the file in the "htdocs" folder and not the "mysite" folder.

Link to comment
https://forums.phpfreaks.com/topic/43126-solved-includes/#findComment-209441
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.