Part 1 – Overview of Functions, Database & Files Overview In this tutorial we’ll be creating a very simple blog system. We won’t be using OOP yet in this tutorial. For creating a Blog using OOP in PHP, another more advanced tutorial will be written and posted as well. The same goes for creating a more advance [...]
Continue reading...Monday, February 22, 2010
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...Monday, February 15, 2010
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...Thursday, January 21, 2010
For generating passwords multiple methods can be used. In this tutorial we’ll be discussing 2 ways to generate random passwords. The result of both methods is exactly the same. Although method 1 is based on generating random indexes and picking another (random) index’s value each time when adding a new random character to the random [...]
Continue reading...
Wednesday, March 3, 2010
1 Comment