Tag Archives: PHP

Can’t connect to remote mysql server with php/apache but can through php/cli

Today at work we were migrating some sites to a new server infrastructure with the different services (i.e. php, mysql, mail) spread over different servers. One problem we ran into whilst setting this up was that php scripts running through … Continue reading

Posted in Computing, Web Servers | Tagged , , , , | View Comments

OSCommerce / Paypoint redirects to payment information after paying

I was asked to do some work on an oscommerce site which was accepting payments from paypoint (formally secpay) yet instead of redirecting the user to the “Thank you for your order” page it was sending them to the payment … Continue reading

Posted in Programming | Tagged , , , | View Comments

Testing Kohana3 with PHPUnit

Unit testing is great, period. It allows you to test different parts of your application independently of the rest of the system.  Any changes that will cause problems elsewhere can be identified almost instantly (if you’re doing it right!). Up … Continue reading

Posted in Programming | Tagged , , , , | View Comments

Kohana – the php framework

I know I haven’t written anything here for quite a while, but I just wanted to make a quick post about this totally amazing awesome MVC php framework called kohana. It was originally a fork of codeigniter (Another good php … Continue reading

Posted in Programming | Tagged , | View Comments