ASP to PHP

My original site was written almost entirely in ASP. There are some large remnants of that in this new site, namely the species list and the entire gallery code. As a result, this new site is a mashup of PHP and ASP – two languages that in theory can’t be used at the same time. I got around that limitation by putting ASP code within <iframe>’s. It works. One of the disadvantages of still using ASP is that it is very limiting when it comes to finding a suitable host for the site as it must use a IIS web server (Windows). A number of weeks ago, when I started rebuilding the site, I moved to a new host, again on IIS to enable me to continue using ASP, and re-wrote the gallery code. It runs better now, and it produces more attractive and practical galleries, but it’s not without problems still. These problems are not with my code, but unfortunately with my new host, and it results either in 503 server errors (not enough resources) or simply missing images. The recent use of CloudFlare somewhat improves the situation, but not completely. I’ve decided to re-write the gallery code and species list yet again, but this time in PHP. It’s a challenge, and a learning process, but I enjoy it. I’ve made a small start – the code that displays the 3 most recent images on the home page was previously written in ASP. The version that is now live on the site is written entirely in PHP. To the end user, it looks identical. The next thing to do is to re-write the rest of the gallery code and the species list, which is a more complex and larger task, and then I’ll finally be able to take my pick from any number of Linux servers for the site’s hosting, and hopefully, an end to a lack of server resources.