PHP

How to Install PHP on IIS 6.0

I just found myself needing to install PHP manually on a Windows 2003 VPS server using IIS 6.0. While I’ve use PHP before, I am by no means an expert on it and this was to be my first installation.
Since I needed a secure environment, I needed to install PHP manualy (rather than with [...]

PHP

Windows vs. Linux Directory Sorting

I’m developing a site on a Windows host for a client whose site is hosted on Linux and just ran into an unexpected issue. My PHP code is supposed to display all of the images in a particular folder on a page. I renamed all of the images so they’d be read in the order [...]

PHP

PHP redirect a la Javascript

So, I’ve been dabbling in PHP a bit and I needed to find out how to redirect in the middle of a page. I couldn’t find anything simple to achieve this so I wondered if it was possible to use echo a location.href in the midst of my PHP code. Turns out, it is!
The following [...]

PHP