Posts tagged as:

PHP

How to create a basic PHP template

February 9, 2009

When you’re creating a website with lots of pages all using the same look and feel, headers, CSS etc, it obviously makes sense to create a simple template. Begin by creating a page in XHTML/HTML that looks and works exactly as you wish. Now cut and paste the header into a new file and put [...]

Read the full article →

Apache

October 16, 2008

Let’s say that you want to add a file upload facility to your website via PHP. The key to this is to ensure that the permissions on the folder you are copying up to allow PHP to do the copying. This is a classic Gotcha that can waste a whole load of time. The first [...]

Read the full article →

Let’s hear it for HEREDOC

September 8, 2008

I’ve been using PHP seriously for a while now, and overall I think it’s the most productive programming language I’ve ever encountered. However, one of the things, as a PHP programmer, you need to do on a regular basis is to output HTML to the browser in order to draw web pages. The problem is [...]

Read the full article →

PHPDesigner 2008

June 4, 2008

It seems that my endless search for the ideal PHP IDE has finally…er…ended. phpDesigner 2008 is the most promising environment I’ve seen and even though I’ve only just started using it, it’s already seen Zend Studio Pro and the treacle-like Zend Studio Eclipse confined to the recycle bin.

Read the full article →