TheFilmGod Posted December 23, 2006 Share Posted December 23, 2006 Hi, I got my script to work and all but I have a simple flaw. (Which I can't figure out)... Maybe you can help:Script Line:$path="xpoll/";include(".$path.functions.php");- The first line works fine, but the second gets a result of:.xpoll/.function.phpAs you know, that is not proper relative link. Thanks! Link to comment https://forums.phpfreaks.com/topic/31725-solved-variables-help/ Share on other sites More sharing options...
Jessica Posted December 23, 2006 Share Posted December 23, 2006 include($path.'functions.php');You have a dot in your string. That is why the dot is there. Link to comment https://forums.phpfreaks.com/topic/31725-solved-variables-help/#findComment-147056 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.