ghurty Posted August 14, 2007 Share Posted August 14, 2007 Hi, Is there a way for me to set an include path but only for a particular php file. for example: I currently am using the following code: <?php include("dst.inc"); ?> However I want to place the file in the following directory, /homepages/23/d210195987/htdocs/test/includes thank you Link to comment https://forums.phpfreaks.com/topic/64922-adding-a-include-for-a-particular-php-script/ Share on other sites More sharing options...
Orio Posted August 14, 2007 Share Posted August 14, 2007 So give include() the full path you want... Orio. Link to comment https://forums.phpfreaks.com/topic/64922-adding-a-include-for-a-particular-php-script/#findComment-323943 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.