Thanks to all contributors to guide me in right direction.<div>I am going to re-write my logic to load dynamic data via <b>wp_remote_get</b>.</div><div><br><div class="gmail_quote">On Sat, Aug 27, 2011 at 8:45 PM, Simon Prosser <span dir="ltr">&lt;<a href="mailto:pross@pross.org.uk">pross@pross.org.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">file_get_contents is disabled on most shared servers.<br>
<div><div></div><div class="h5"><br>
On 27 August 2011 16:25, Qamar Ashraf &lt;<a href="mailto:life.object@gmail.com">life.object@gmail.com</a>&gt; wrote:<br>
&gt; Thanks Michael,<br>
&gt; I will digg the wp_remote_get() API.<br>
&gt;<br>
&gt; On Sat, Aug 27, 2011 at 8:22 PM, Michael Fields &lt;<a href="mailto:michael@mfields.org">michael@mfields.org</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; You might want to look into wp_remote_get()<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://codex.wordpress.org/Function_API/wp_remote_get" target="_blank">http://codex.wordpress.org/Function_API/wp_remote_get</a><br>
&gt;&gt;<br>
&gt;&gt; It&#39;s the only way I write remote requests for WordPress extensions.<br>
&gt;&gt;<br>
&gt;&gt; On Aug 27, 2011, at 8:16 AM, Qamar Ashraf wrote:<br>
&gt;&gt;<br>
&gt;&gt; &gt; Hello,<br>
&gt;&gt; &gt; I have integrated a &quot;Theme Reference&quot; page to provide some useful<br>
&gt;&gt; &gt; information about my framework. I am going to load remote data by reading<br>
&gt;&gt; &gt; RSS Feed. Here is the code logic,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; function get_chip_life_feed( $feed_url ) {<br>
&gt;&gt; &gt;     $content = file_get_contents( $feed_url );<br>
&gt;&gt; &gt;     $feed = new SimpleXmlElement( $content );<br>
&gt;&gt; &gt;       return $feed;<br>
&gt;&gt; &gt; }<br>
&gt;&gt; &gt; $feed = get_chip_life_feed(<br>
&gt;&gt; &gt; &#39;<a href="http://www.tutorialchip.com/feed/chip-life-tutorials/" target="_blank">http://www.tutorialchip.com/feed/chip-life-tutorials/</a>&#39; );<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I have got following Warning after submitting the theme,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; WARNING: file_get_contents was found in the file tutorials.php possible<br>
&gt;&gt; &gt; file operations.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Is it now allowed to load data via RSS ?<br>
&gt;&gt; &gt; So how can i load dynamic data without this ?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Help is really appreciated.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; --<br>
&gt;&gt; &gt; Regards<br>
&gt;&gt; &gt; Qamar Ashraf<br>
&gt;&gt; &gt; Project Manager<br>
&gt;&gt; &gt; <a href="http://www.tutorialchip.com" target="_blank">www.tutorialchip.com</a><br>
&gt;&gt; &gt; <a href="http://www.freestockphotosclub.com" target="_blank">www.freestockphotosclub.com</a><br>
&gt;&gt; &gt; <a href="http://www.twunfollowapp.com" target="_blank">www.twunfollowapp.com</a><br>
&gt;&gt; &gt; @lifeobject1<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; theme-reviewers mailing list<br>
&gt;&gt; &gt; <a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
&gt;&gt; &gt; <a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; theme-reviewers mailing list<br>
&gt;&gt; <a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
&gt;&gt; <a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Regards<br>
&gt; Qamar Ashraf<br>
&gt; Project Manager<br>
&gt; <a href="http://www.tutorialchip.com" target="_blank">www.tutorialchip.com</a><br>
&gt; <a href="http://www.freestockphotosclub.com" target="_blank">www.freestockphotosclub.com</a><br>
&gt; <a href="http://www.twunfollowapp.com" target="_blank">www.twunfollowapp.com</a><br>
&gt; @lifeobject1<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; theme-reviewers mailing list<br>
&gt; <a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
&gt; <a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
My Blog: <a href="http://www.pross.org.uk/" target="_blank">http://www.pross.org.uk/</a><br>
Plugins : <a href="http://www.pross.org.uk/plugins/" target="_blank">http://www.pross.org.uk/plugins/</a><br>
Themes: <a href="http://wordpress.org/extend/themes/profile/pross" target="_blank">http://wordpress.org/extend/themes/profile/pross</a><br>
</font><div><div></div><div class="h5">_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><font color="#666666">Regards</font><div><font color="#666666">Qamar Ashraf</font></div><div><font color="#666666">Project Manager</font></div><div>
<font color="#666666"><a href="http://www.tutorialchip.com" target="_blank">www.tutorialchip.com</a></font></div><div><font color="#666666"><a href="http://www.freestockphotosclub.com" target="_blank">www.freestockphotosclub.com</a></font></div>
<div><a href="http://www.twunfollowapp.com" target="_blank">www.twunfollowapp.com</a></div><div><font color="#666666">@lifeobject1</font></div><br>
</div>