WordPress 2.1.x – 2.2 Breaks PHP 4.4.4

Posted by & filed under Internet Information Server, PHP.

While I was trying to find a content management system for a section of World’s Cutest Animals I decided to try WordPress 2 instead of programming my own (I’m lazy sometimes). When I installed WordPress 2.1.x it was working fine until midday when requests for the page spiked as usual. It was the dreaded PHP… Read more »

file_get_contents on IIS 6

Posted by & filed under Internet Information Server, PHP.

To all those (3 people) who need to use file_get_contents in PHP on IIS 6, you may notice it doesn’t work by default. To see if it works, place the following code into a file called test.php. <?php $content=file_get_contents("http://www.google.com",FALSE,NULL,0,20); echo $content; ?> You should have the first 20 bytes of the google source code echoed… Read more »