e1seix Posted December 14, 2008 Share Posted December 14, 2008 home/shop/main.php home/images/logo.jpg home/security.php 3 directory addresses. to include "logo.jpg" within "main.php" i can use include("../images/logo.jpg"); but what can i use to include "security.php" i can't get the full stops correct. i've tried both include("security.php"); include(".security.php"); include("/security.php"); include(".security.php"); nothing appears to work. any ideas guys? cheers! Link to comment https://forums.phpfreaks.com/topic/136961-including-file-from-different-directory/ Share on other sites More sharing options...
Mchl Posted December 14, 2008 Share Posted December 14, 2008 include("../security.php"); Link to comment https://forums.phpfreaks.com/topic/136961-including-file-from-different-directory/#findComment-715326 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.