<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1016843" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1016843</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/include#comment-1098001</link>
    <description> &lt;p&gt;I think that the second error was because you have the file name in the include_path.&lt;br /&gt;
The inlcude_path is only suppose to indicate the directory without the trailing slash.&lt;br /&gt;
So, I think it saw global.php as a directory and not a file.&lt;/p&gt;
&lt;p&gt;But anyway, you&#039;ve got it working.  So let&#039;s not rock the boat. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 10 Jan 2002 18:27:29 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1098001 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/include#comment-1097970</link>
    <description> &lt;p&gt;errors finally gone..&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;this is wat i used:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;chdir&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$DOCUMENT_ROOT &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. \&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;/forum\&quot;);&lt;br /&gt;require(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$DOCUMENT_ROOT&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; . \&quot;/forum/global.php\&quot;);&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;thanks mark!!&lt;/p&gt;
 </description>
     <pubDate>Thu, 10 Jan 2002 09:51:59 +0000</pubDate>
 <dc:creator>joyce</dc:creator>
 <guid isPermaLink="false">comment 1097970 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/include#comment-1097947</link>
    <description> &lt;p&gt;i&#039;m getting this error after adding in..&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;Warning: Unable to access ./admin/config.php in /usr/local/plesk/apache/vhosts/certifyexpress.com/httpdocs/forum/global.php on line 102&lt;br /&gt;&lt;br /&gt;Fatal error: Failed opening required &amp;#039;./admin/config.php&amp;#039; (include_path=&amp;#039;.::/usr/local/plesk/apache/vhosts/certifyexpress.com/httpdocs/forum/global.php&amp;#039;) in /usr/local/plesk/apache/vhosts/certifyexpress.com/httpdocs/forum/ on line 102&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Thu, 10 Jan 2002 01:34:10 +0000</pubDate>
 <dc:creator>joyce</dc:creator>
 <guid isPermaLink="false">comment 1097947 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/include#comment-1097906</link>
    <description> &lt;p&gt;In the error above, you have this:&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: Failed opening required &#039;./admin/config.php&#039; (include_path=&#039;.:&#039;)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The include path is only &#039;.&#039;, or the directory of the parent process.  Does the include_path change after adding the ini_set() line?&lt;/p&gt;
 </description>
     <pubDate>Wed, 09 Jan 2002 19:48:13 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1097906 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/include#comment-1097867</link>
    <description> &lt;p&gt;hmm...i&#039;ve tried that...still getting the same error...&lt;/p&gt;
 </description>
     <pubDate>Wed, 09 Jan 2002 09:14:47 +0000</pubDate>
 <dc:creator>joyce</dc:creator>
 <guid isPermaLink="false">comment 1097867 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/include#comment-1097860</link>
    <description> &lt;p&gt;When dealing with include() and require(), relative paths are always relative to the (top most) parent process.&lt;br /&gt;
This means that PHP is evaluating &#039;./admin/config.php&#039; as relative to &#039;phpresume/index.php&#039;, and not &#039;../forum/global.php&#039;.&lt;/p&gt;
&lt;p&gt;Try adding this to the PHP script before including global.php:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;ini_set&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;include_path\&quot;, ini_get(\&quot;include_path\&quot;) . &#039;:/usr/local/plesk/apache/vhosts/certifyexpress.com/httpdocs/forum&#039;);&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;PHP Docs: &lt;a href=&quot;http://www.php.net/manual/en/function.ini-get.php&quot; class=&quot;bb-url&quot;&gt;ini_get()&lt;/a&gt;, &lt;a href=&quot;http://www.php.net/manual/en/function.ini-set.php&quot; class=&quot;bb-url&quot;&gt;ini_set()&lt;/a&gt;, &lt;a href=&quot;http://www.php.net/manual/en/configuration.php#ini.include-path&quot; class=&quot;bb-url&quot;&gt;include_path&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 09 Jan 2002 07:45:09 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1097860 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
