If like me you are thinking of a way in which you can implement a permissions system for your website and after looking at various other systems like Wordpress, phpBB amongst others you are still left confused, then look no further.
As it stands there are several different Control types which you might want to look at to base your permissions/security system on. Read the rest of this entry »
Access Granted?
January 26th, 2010Storing data to discontinuous strings
October 22nd, 2009Within Assembly like C/C++ you store strings as one continuous sequence of bytes in memory, well sometimes this isn’t always the case. In addition to changing the value in AX between executions of STOSW, you can change the destination address as well. The end result of this is that you are able to store data into several different areas of memory inside a very tight single loop. Read the rest of this entry »
Creating a PHP Calendar
October 19th, 2009Online calendars can be useful and can vary in complexity from a simple calendar to a full blown online booking system. In this tutorial i am going to cover the former of the two.
First thing that needs to be done is to work out what information we will need to collect and display. Read the rest of this entry »
Custom Error Handler
October 15th, 2009Everyone at some point has gotten that ugly PHP error message when visiting a website on the web, or seen a PHP warning message nesting at the top of the page, well in this tutorial I will show you a way that you can handle error’s yourself and only display the error messages on screen when you are debugging your application.
Read the rest of this entry »
Creating a PHP based IRC Bot
October 14th, 2009By the end of this tutorial you will end up with a functioning IRC bot that can connect to a server, join channels, give and take operator, half operator, voice and protected status from a user. In the next tutorial I will discuss the different ways to “log” certain parts of the information processed by the bot, how to build a statistics table of various statistics like who has been on the longest, speaks the most, etc.
Right a few assumptions have been made, you have a text editor, at least a basic knowledge of object orientated PHP, access to an IRC client, a web server with PHP 5.3.0, preferably, if not a work around is needed later in the tutorial.
Read the rest of this entry »