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 Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.