RSS

Tag Archive | "PHP"

Object Oriented Programming Basics – Extending Classes

Monday, February 22, 2010

1 Comment

Extending classes It’s also possible to have a second class which extends the main class. This make the class able to use the (public) functions (methods) & properties of the main class inside the other class. To extend a class we use extends. Example: class BasicClass { } class Class2 extends BasicClass { } Here Class2 extends the class ‘BasicClass’ which means [...]

Continue reading...

Securing data in PHP

Wednesday, February 17, 2010

3 Comments

It’s very important to secure your data in PHP correctly. Because if you don’t, your website is in risk of being harmed by SQL injections and other dangerous code injections, which you obviously don’t want. So to protect your website against these code attacks, this tutorial was written This tutorial will explain the reasons [...]

Continue reading...

PHP Smilies System

Monday, February 15, 2010

0 Comments

In this tutorial we’ll be creating a system which will convert messages including text smilies into messages including icon smilies ( text => smilie icons ). Preknowledge For this tutorial it’s prefered that you’ve got some preknowledge about php variables, arrays, functions and the foreach loop. If not, I’d recommend you to have a look at [...]

Continue reading...

Object Oriented Programming Basics

Friday, February 12, 2010

0 Comments

This tutorial will be explaining the basics of Object Oriented Programming (OOP) classes. Let’s start with getting straight the following question: What will be explained in this tutorial? This tutorial will only explain the basics of OOP programming in PHP which consist of: creating classes creating public, protected and private functions & variables creating objects (instances of classes) using/calling other [...]

Continue reading...
PHVsPjwvdWw+