twitter

Recent Comments

David Boyer
David Boyer January 13, 2012 at 10:05AM
Is Your CFLOOP Hogging Memory or Causing OutOfMemory Errors?

Interesting to find that out, wouldn't have expected it to be a problem. I've had similar...

baljit dhanoa
baljit dhanoa January 12, 2012 at 9:08AM
Creating A Recent Comments Widget With Disqus's API and PHP

Creating A Recent Comments Widget With Disqus's API and PHP good code pls try

Web Hosting Provider
Web Hosting Provider January 10, 2012 at 5:23PM
Creating A Recent Comments Widget With Disqus's API and PHP

Superb and very informative for me,,,

web hosting
web hosting December 2, 2011 at 7:28AM
If PHP's file_get_contents Function is Failing With IIS 7

I am new guy for this PHP. i get it clear idea about your topic.All the points are explained...

Aaron J. White
Aaron J. White November 14, 2011 at 11:54PM
Creating A Recent Comments Widget With Disqus's API and PHP

If you want to put the number of posts in a different area than the recent comments section...

Aaron J. White
Aaron J. White November 14, 2011 at 10:10PM
Creating A Recent Comments Widget With Disqus's API and PHP

It depends, are you using wordpress or joomla? I have a different plugin that checks disqus for...

Yulia Novozhilova
Yulia Novozhilova November 14, 2011 at 4:22PM
Creating A Recent Comments Widget With Disqus's API and PHP

very cool... it works! Do you know if it is possible to include number of total post likes on...

Aaron J. White
Aaron J. White October 30, 2011 at 10:40AM
Creating A Recent Comments Widget With Disqus's API and PHP

Hmm...It would probably help if I post a comment on my site so people can actually see my...

If PHP's file_get_contents Function is Failing With IIS 7

Posted: November 28th, 2011 - Very quick post here. So I moved my blog from a shared hosting account to my  windows VPS yesterday and everything worked perfectly except three php scripts I wrote to grab my facebook/twitter feeds and my recent comments from disqus. Since all three scripts use the file_get_contents script I assumed that was somehow the issue.

After some searching I decided to check if the allow_url_fopen parameter was set to yes in my server's php.ini file. Sure enough the parameter was set to off. After I changed the parameter in the ini file on my server to "on" all the scripts started working again. I thought I should make a blog post about it because I used Microsoft's Web Platform Installer to setup php on my vps and allow_url_fopen's default value was off. I am assuming this might catch a few other people off guard.


blog comments powered by Disqus