<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: URL File-Access is Disabled in the Server Configuration</title>
	<atom:link href="http://www.learnphponline.com/errors/url-file-access-is-disabled-in-the-server-configuration/feed" rel="self" type="application/rss+xml" />
	<link>http://www.learnphponline.com/errors/url-file-access-is-disabled-in-the-server-configuration</link>
	<description>Learn PHP Online</description>
	<lastBuildDate>Fri, 23 Dec 2011 17:09:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Al</title>
		<link>http://www.learnphponline.com/errors/url-file-access-is-disabled-in-the-server-configuration/comment-page-1#comment-13809</link>
		<dc:creator>Al</dc:creator>
		<pubDate>Fri, 28 Oct 2011 03:43:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=86#comment-13809</guid>
		<description>Thanks! This is very helpful . . . :)</description>
		<content:encoded><![CDATA[<p>Thanks! This is very helpful . . . <img src='http://www.learnphponline.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dhvani</title>
		<link>http://www.learnphponline.com/errors/url-file-access-is-disabled-in-the-server-configuration/comment-page-1#comment-12696</link>
		<dc:creator>Dhvani</dc:creator>
		<pubDate>Mon, 08 Aug 2011 02:55:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=86#comment-12696</guid>
		<description>Hi,

I am facing some similar but different issue.
I am using getimagesize(). When i try to pass variable with this function it do not work. 
But if I pass same variable value as simple static text its working.
I checked the variable values and it is exact what i am giving as simple text.
Please let me know if anyone has idea.

Thanks
Dhvani</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am facing some similar but different issue.<br />
I am using getimagesize(). When i try to pass variable with this function it do not work.<br />
But if I pass same variable value as simple static text its working.<br />
I checked the variable values and it is exact what i am giving as simple text.<br />
Please let me know if anyone has idea.</p>
<p>Thanks<br />
Dhvani</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.learnphponline.com/errors/url-file-access-is-disabled-in-the-server-configuration/comment-page-1#comment-12091</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 21 Jun 2011 01:48:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=86#comment-12091</guid>
		<description>Cheers. I was handed an old web site which I quickly learned was on an old PHP4 server and threw the same error described above. I used your suggestion of changing the paths to relative (luckily just baseurl and basepath in the database) and now it&#039;s all working fine on our local PHP server.

Much obliged.</description>
		<content:encoded><![CDATA[<p>Cheers. I was handed an old web site which I quickly learned was on an old PHP4 server and threw the same error described above. I used your suggestion of changing the paths to relative (luckily just baseurl and basepath in the database) and now it&#8217;s all working fine on our local PHP server.</p>
<p>Much obliged.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mxx</title>
		<link>http://www.learnphponline.com/errors/url-file-access-is-disabled-in-the-server-configuration/comment-page-1#comment-11927</link>
		<dc:creator>Mxx</dc:creator>
		<pubDate>Fri, 10 Jun 2011 19:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=86#comment-11927</guid>
		<description>but doesn&#039;t file_get_contents also require url_fopen enabled?</description>
		<content:encoded><![CDATA[<p>but doesn&#8217;t file_get_contents also require url_fopen enabled?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Izhar</title>
		<link>http://www.learnphponline.com/errors/url-file-access-is-disabled-in-the-server-configuration/comment-page-1#comment-11828</link>
		<dc:creator>Izhar</dc:creator>
		<pubDate>Fri, 03 Jun 2011 21:33:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=86#comment-11828</guid>
		<description>Ah... above code was meshed up by the server. All html symbols were replaced. The correct code is below:

&lt;?php

echo &quot;&lt;div style=&#039;width:100%;height:200px;font-size:30px&#039;&gt;This is Google &reg;&lt;/div&gt;&quot;;
echo &quot;&lt;base href=&#039;http://www.google.com&#039;&gt;&quot;;
echo file_get_contents(&#039;http://www.google.com&#039;);
echo &quot;&lt;/base&gt;&quot;;

?&gt;</description>
		<content:encoded><![CDATA[<p>Ah&#8230; above code was meshed up by the server. All html symbols were replaced. The correct code is below:</p>
<p>&lt;?php</p>
<p>echo &quot;&lt;div style=&#8217;width:100%;height:200px;font-size:30px&#8217;&gt;This is Google &amp;reg;&lt;/div&gt;&quot;;<br />
echo &quot;&lt;base href=&#8217;http://www.google.com&#8217;&gt;&quot;;<br />
echo file_get_contents(&#8216;<a href="http://www.google.com" rel="nofollow">http://www.google.com</a>&#8216;);<br />
echo &quot;&lt;/base&gt;&quot;;</p>
<p>?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TraiaN</title>
		<link>http://www.learnphponline.com/errors/url-file-access-is-disabled-in-the-server-configuration/comment-page-1#comment-10543</link>
		<dc:creator>TraiaN</dc:creator>
		<pubDate>Tue, 12 Apr 2011 19:35:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=86#comment-10543</guid>
		<description>can you put $_SERVER[&#039;HTTP_HOST&#039;] into a config file and include it from there?</description>
		<content:encoded><![CDATA[<p>can you put $_SERVER['HTTP_HOST'] into a config file and include it from there?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashley M</title>
		<link>http://www.learnphponline.com/errors/url-file-access-is-disabled-in-the-server-configuration/comment-page-1#comment-10249</link>
		<dc:creator>Ashley M</dc:creator>
		<pubDate>Tue, 05 Apr 2011 14:29:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=86#comment-10249</guid>
		<description>I posted above but am still having trouble several months down the line. Is there a fix for including a dynamic URL? This is the only thing I&#039;m struggling with. Any ideas? See post above if more information needed. Very much looking forward to a response. Ashley</description>
		<content:encoded><![CDATA[<p>I posted above but am still having trouble several months down the line. Is there a fix for including a dynamic URL? This is the only thing I&#8217;m struggling with. Any ideas? See post above if more information needed. Very much looking forward to a response. Ashley</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AnthonyR</title>
		<link>http://www.learnphponline.com/errors/url-file-access-is-disabled-in-the-server-configuration/comment-page-1#comment-9701</link>
		<dc:creator>AnthonyR</dc:creator>
		<pubDate>Sun, 27 Mar 2011 22:56:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=86#comment-9701</guid>
		<description>Thank you so much, I have been having this problem for a long time...so glad I found this!</description>
		<content:encoded><![CDATA[<p>Thank you so much, I have been having this problem for a long time&#8230;so glad I found this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: akhilesh shete</title>
		<link>http://www.learnphponline.com/errors/url-file-access-is-disabled-in-the-server-configuration/comment-page-1#comment-9588</link>
		<dc:creator>akhilesh shete</dc:creator>
		<pubDate>Fri, 25 Mar 2011 14:44:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=86#comment-9588</guid>
		<description>hey can anyone help me? I want a form with text box and when we will enter the any place name in the text box and click button then it should show me latitude and longitude of that place. No map generation is needed</description>
		<content:encoded><![CDATA[<p>hey can anyone help me? I want a form with text box and when we will enter the any place name in the text box and click button then it should show me latitude and longitude of that place. No map generation is needed</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bobby</title>
		<link>http://www.learnphponline.com/errors/url-file-access-is-disabled-in-the-server-configuration/comment-page-1#comment-9458</link>
		<dc:creator>Bobby</dc:creator>
		<pubDate>Tue, 22 Mar 2011 21:09:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=86#comment-9458</guid>
		<description>Zach,

$SERVER variable / DOCUMENT_ROOT Worked for me, saved me lot of time and efforts rearranging the code, thanks, Bobby.</description>
		<content:encoded><![CDATA[<p>Zach,</p>
<p>$SERVER variable / DOCUMENT_ROOT Worked for me, saved me lot of time and efforts rearranging the code, thanks, Bobby.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

