RSS

Archive | February, 2010

Retrieving User Input Data

27. February 2010

0 Comments

In this tutorial we’ll be retrieving data from form fields. To do this we’ll first create an example form. We’re using the POST method to send the form data in the first example. Will later explain what this means, and how we can then retrieve the data from the form fields. Also the GET method [...]

Continue reading...

Object Oriented Programming Basics – Extending Classes

22. February 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

17. February 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

15. February 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...
PHVsPjwvdWw+