]> PHP | Web Developer Reference Blog

R&R Catering Hire Redevelopment Project

Monday, December 13th, 2010

Over the past few months, I have been working closely with Bredon Web and Seligsoft to transform the website of successful local business, R&R Catering Hire Ltd of Andoversford in Gloucestershire.

I was tasked with producing a PHP version of their ASP website using as much of their current PHP development website as possible. The team agreed with a seamless WordPress-osCommerce symbiotic platform as it suited 80% of the brief ‘out of the box’. 

This allowed me to meet the deadline for the back end in time for Seligsoft to produce the front end graphics using CSS.
(more…)

PHP Objects, The Basics

Friday, February 26th, 2010

I have come across classes very often and use classes distributed on phpclasses.org such as phpMailer, an excellent class for sending emails using PHP. A class allows programmers to separate code from the main systems while being able to access and define variables for access outside the class, inside the class or just within one function in the class.

In this article I will discuss the general structure of a simple class and usage of a simple “HELLO” class as an example.

(more…)

SQL injection, examples and prevention

Thursday, February 25th, 2010

What is SQL Injection

SQL injection is the practice of exploiting applications in order to gain access to and manipulate a database. In this article I will discuss examples and prevention in PHP/MySQL.

(more…)

What is PHP?

Thursday, February 25th, 2010

PHP is a server-side scripting language whose primary purpose is to generate HTML content. Its creator, Rasmus Lerdorf defines it as ‘a cross-platform, HTML-embedded, server-side web scripting language’. With the current direction of the Web, it is easily being adapted to writing out all forms of XML content as well. The most recent version of PHP at time of writing is PHP 5.

(more…)