Category Archives: php

posts about php

XAMPP and skype

If you load skype before turning on your apache server, you will notice that it won’t load. Doing a port check shows that skype is listening on port 80. Two easy fixes: 1. Quit skype and load xammp and then … Continue reading

Posted in php | Tagged | Leave a comment

Regular expression to find <? instead of <?php

So I was getting “Parse Error: syntax error, unexpected $end filename on line linenum” In a wordpress plugin. The file was working correctly on my live server but not on xampp and the line number was the last line of … Continue reading

Posted in php, Programming | Tagged | Leave a comment

Handy info for staging wordpress sites

When setting up a wordpress site, I’ll usually develop it in a staging environment and then deploy it live. In the past i’ve been manually changing the database as per the instructions I found a couple of years ago. I … Continue reading

Posted in php, Programming | Tagged | Leave a comment

Lesson learnt

So I decided this morning to ‘quickly’ update my guild’s forum. The computer hamsters knew that I didn’t have all day to play with the website!!!! Anyway… If you are going to update a phpbb3 forum, set the theme back … Continue reading

Posted in php | Leave a comment

Image resize problem

I have a script for my band’s website that automattically generates an xml file, resized images and thumbnail images from a folder of original photos. Recently it has been giving me some trouble by just cutting out. This is the … Continue reading

Posted in php | Leave a comment