Archive for PHP

Getting started with Quercus in Google App Engine

Last year an article was written on a blog about how to run PHP on Google App Engine (GAE).

The guide came with a pre-made package to get you started.

However, Quercus has been updated since this was produced.

Read the rest of this entry »

Comments (1)

How to convert an image to greyscale using PHP

I was trying to find a neat way to grey out some “powered by” logos for a website I’m developing.

I remembered reading about this very thing in .net magazine/august 2009 (i191,p100), which said:

“Sponsor and associate logos can be a challenge for a designer who is making a valiant attempt to create a cohesive website layout. Logos can be contrasting colour schemes and can be displayed at a wide range of different aspect ratios. When faced with this challenge, I recommend greying out the logos and having them appear in their respective colours upon mouse-over. When placing logos next to each other, I’d consider using visual weight versus actual size to determine spacing.”

- Samantha Warren @ badassideas.com

So, sure we’ve established that it’s a good idea, the question is how to achieve it…

Read the rest of this entry »

Comments (1)

How not to use PHPMailer

I came across PHPMailer usage the other day on a Chinese gadget wholesale site “SourcingMap.com”.

If you submit something via their contact us form, interestingly you appear to get a dump from PHP telling you all about the PHPMailer object.

Read the rest of this entry »

Comments

Cex.co.uk site errors

After browsing the cex.co.uk website for some time I came across a few errors on the site…

Read the rest of this entry »

Comments

HM2K’s code repository

HM2K’s code repository is now open for business!

This repository is a collection of scripts and code i’ve written in various languages such as mIRC Script, Perl, PHP, TCL, AutoIT, JavaScript, Shell, VB Script and Batch. Read the rest of this entry »

Comments

Using Your Own URL as Your OpenID with WordPress

Today I decided to join stackoverflow.com, which requires you to login using OpenID.

It was pretty simple to get signed up with myopenid.com, but while I was on the stackoverflow login page I noticed a little message which I found interesting: Read the rest of this entry »

Comments

Cannot redeclare pclziputilpathreduction()

I had this issue today, I found that you need to deactivate the “Wordpress Automatic Upgrade” plugin as it’s included in the core of Wordpress now anyway.

So, just disable the plugin and try again.

Read the rest of this entry »

Comments

OpenCart v0.7.9 released

OpenCart is an open source PHP-based e-commerce online shop website solution. Ideal for new or existing stores to start selling online.

OpenCart all began because (at the time) the leading open source e-commerce solution out there was not very good, to say the least.

Read the rest of this entry »

Comments

PHP getmxrr() support for windows

As many of you may be aware there’s a lack of getmxrr() support in Windows, which dates back as far as 1999.

It’s not a major problem for me as an individual because I never use WIN32 PHP in production, but for development and for the purpose of wide distribution it can raise an issue.

Apparently the lack of support in win32 is due to the lack of “res_search” in “bindlib_w32″, I’m surprised this hasn’t been fixed already.

The official PHP.net documentation for the getmxrr() function states:

Note: This function is not implemented on Windows platforms. Try the » PEAR class » Net_DNS.

However, there are problems with this suggestion…

Read the rest of this entry »

Comments (2)

PHPizabi – creating a dating site

During the summer of 2007 I decided to purchase a new domain name with a dating theme.

The idea was to start a dating website. Although a fairly saturated market place, I figured it’d be another one to add to my profile.

Read the rest of this entry »

Comments (10)

« Previous entries Next Page » Next Page »