TCP / IP Filtering For Windows

Posted by & filed under Internet Information Server, Windows / Server.

TCP/IP Filtering is a “cheap” way to close off or open up certain ports to the outside world. Filtering was never meant to be an all-encompasing security approach, and should never be treated as such. It is an often overlooked but extremely easy security measure to implement. A couple notes of caution when using TCP/IP… Read more »

Setting Processor Affinity Permanently

Posted by & filed under General, Internet Information Server, PHP, Windows / Server.

The post below talks about processor affinity and setting IIS to use only one processor to increase stability of certain applications (PHP ISAPI anyone?). You can set the affinity by opening Task Manager and selecting w3svc.exe or inetinfo.exe on the Processes tab. Right click and choose Set Affinity. Uncheck the processors which should not execute… Read more »

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 »