<?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: Curl: Location redirect while open_basedir is set</title>
	<atom:link href="http://www.web-development-blog.com/archives/curl-follow-url-location-while-open_basedir-is-set/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.web-development-blog.com/archives/curl-follow-url-location-while-open_basedir-is-set/</link>
	<description>Read about Website Development, Online Marketing and Web Hosting</description>
	<lastBuildDate>Wed, 08 Feb 2012 09:30:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Olaf</title>
		<link>http://www.web-development-blog.com/archives/curl-follow-url-location-while-open_basedir-is-set/#comment-128410</link>
		<dc:creator>Olaf</dc:creator>
		<pubDate>Mon, 22 Aug 2011 17:51:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=222#comment-128410</guid>
		<description>Hello Alex, great that it works this way!</description>
		<content:encoded><![CDATA[<p>Hello Alex, great that it works this way!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.web-development-blog.com/archives/curl-follow-url-location-while-open_basedir-is-set/#comment-128224</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sat, 20 Aug 2011 15:33:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=222#comment-128224</guid>
		<description>Works nicely on my shared hosting with open_basedir enabled! Luckily, my +open_basedir path includes my &#039;home&#039; directory, so I placed the CURL script there and called it from my web-page as described in this article.</description>
		<content:encoded><![CDATA[<p>Works nicely on my shared hosting with open_basedir enabled! Luckily, my +open_basedir path includes my &#8216;home&#8217; directory, so I placed the CURL script there and called it from my web-page as described in this article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rocky Mountain Rock Star web design</title>
		<link>http://www.web-development-blog.com/archives/curl-follow-url-location-while-open_basedir-is-set/#comment-117351</link>
		<dc:creator>Rocky Mountain Rock Star web design</dc:creator>
		<pubDate>Sat, 14 Feb 2009 18:43:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=222#comment-117351</guid>
		<description>Excellent tutorial. Saved to my del.icio.us bookmarks :)</description>
		<content:encoded><![CDATA[<p>Excellent tutorial. Saved to my del.icio.us bookmarks <img src='http://cdn.web-development-blog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olaf</title>
		<link>http://www.web-development-blog.com/archives/curl-follow-url-location-while-open_basedir-is-set/#comment-117286</link>
		<dc:creator>Olaf</dc:creator>
		<pubDate>Sun, 01 Feb 2009 08:46:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=222#comment-117286</guid>
		<description>Hello Jim,

I removed your code and pointed you to the forum.
I&#039;m sure I can help ;)
Actually you need to ask your provider if he will help you as explained in this tutorial (he need to add some open_basedir directory where the script has to be executed).

You say that you&#039;re not a php programmer, I hope you&#039;re able to edit the code? See you at the forum...</description>
		<content:encoded><![CDATA[<p>Hello Jim,</p>
<p>I removed your code and pointed you to the forum.<br />
I&#8217;m sure I can help <img src='http://cdn.web-development-blog.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Actually you need to ask your provider if he will help you as explained in this tutorial (he need to add some open_basedir directory where the script has to be executed).</p>
<p>You say that you&#8217;re not a php programmer, I hope you&#8217;re able to edit the code? See you at the forum&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://www.web-development-blog.com/archives/curl-follow-url-location-while-open_basedir-is-set/#comment-117283</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Sun, 01 Feb 2009 05:30:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/?p=222#comment-117283</guid>
		<description>Hi Olaf,

Note: I am not a PHP programmer, and I am trying to help out my brother that is a Realtor, that has an IDX real estate search for his website and a separate hosting provider.

I just read your interesting post: Curl: Location redirect while open_basedir is set
I am having that main problem with a host provider that will not do anything.
Do you have any type of workaround for this problem when the hosting provider sets their server as follows for security issues?
What this is, is a Real Estate IDX company that provides a script that can make the real estate searches appear to be hosted on the Realtor&#039;s website.
Is there another way of doing it so the pages could all look like they are coming from the Realtor&#039;s website and not the IDX company.

Note the IDX company allows you to point to a custom directory at the Realtor&#039;s website. But, because the script is using the curl_setopt($ch, CURLOPT_FOLLOWLOCATION,	true); // required for many of the IDX pages This is when it hangs up.

This is from the hosting provider when I told them about the problem.

 From Hosting Company

    I have investigated this issue at our end.

    This is not a issue at the server.

    The script cloakURL.php  cannot get execute when Open_basedir has been enabled in the server.

    Openbase_dir cannot be disabled as this is a security feature in the server.

    You will have to contact the application developer to resolve this issue as this is a issue related with the code in file cloakURL.php.

They don\&#039;t want to Open_basedir disable. Here is the message I get when trying to execute the script.
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/hiswebsite/public_html/cloakURL.php on line 98


&lt;strong&gt;EDIT: please post support requests to our &lt;a href=&quot;http://www.finalwebsites.com/forums/forum/discuss-our-web-development-tutorials&quot; rel=&quot;nofollow&quot;&gt;forum&lt;/a&gt;.&lt;/strong&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Olaf,</p>
<p>Note: I am not a PHP programmer, and I am trying to help out my brother that is a Realtor, that has an IDX real estate search for his website and a separate hosting provider.</p>
<p>I just read your interesting post: Curl: Location redirect while open_basedir is set<br />
I am having that main problem with a host provider that will not do anything.<br />
Do you have any type of workaround for this problem when the hosting provider sets their server as follows for security issues?<br />
What this is, is a Real Estate IDX company that provides a script that can make the real estate searches appear to be hosted on the Realtor&#8217;s website.<br />
Is there another way of doing it so the pages could all look like they are coming from the Realtor&#8217;s website and not the IDX company.</p>
<p>Note the IDX company allows you to point to a custom directory at the Realtor&#8217;s website. But, because the script is using the curl_setopt($ch, CURLOPT_FOLLOWLOCATION,	true); // required for many of the IDX pages This is when it hangs up.</p>
<p>This is from the hosting provider when I told them about the problem.</p>
<p> From Hosting Company</p>
<p>    I have investigated this issue at our end.</p>
<p>    This is not a issue at the server.</p>
<p>    The script cloakURL.php  cannot get execute when Open_basedir has been enabled in the server.</p>
<p>    Openbase_dir cannot be disabled as this is a security feature in the server.</p>
<p>    You will have to contact the application developer to resolve this issue as this is a issue related with the code in file cloakURL.php.</p>
<p>They don\&#8217;t want to Open_basedir disable. Here is the message I get when trying to execute the script.<br />
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/hiswebsite/public_html/cloakURL.php on line 98</p>
<p><strong>EDIT: please post support requests to our <a href="http://www.finalwebsites.com/forums/forum/discuss-our-web-development-tutorials" >forum</a>.</strong></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Database Caching 26/36 queries in 0.020 seconds using disk: basic
Object Caching 417/421 objects using disk: basic
Content Delivery Network via cdn.web-development-blog.com

Served from: www.web-development-blog.com @ 2012-02-08 10:51:42 -->
