In this tutorial we will create walker class. This class will load results by executing given SQL query and then create multidimensional array that will have entries in right position. Let’s say that you have this data in your database.
This will be a quick tutorial on how to use bitwise operators in PHP to create permissions control. Some of next tutorials will cover how to implement it in application and how to use database to store permissions for users. Now some basics.
Read the rest
This will be intermediate tutorial about caching SQL query results. We will use interface to make support for extending available ways of caching your results. We will create cache that will use MySQL database and flat text files to store cache.
Read the rest
If you ever had a bank account you are familiar with TAN-s (Transaction Authentication Number). What we will do today, is create user login using that kind of system. This will be just simple overview how to do it so you can create more complex and secure login systems. You need to have basic knowledge about classes, HTML, CSS and AJAX because I will not explain in depth what I do. Read the rest
This tutorial cover some of basics about jQuery and AJAX. We will build AJAX form submit where we will have 1 field. If we lave it blank and submit our form, we will get error message. If we fill it with some data we will get that text. We will also add some loader image.
Read the rest
Today web programmers have big problems with spam comments. There are a lot of tutorials about captchas and how to implement them, so I will not cover it here (I can do it f next tutorial if you wish). Anyway, I will show you some other methods that are good. Note that none of them is not 100% secure.
Read the rest
In this tutorial I’ll show you how to create a script that will create graphs. Those graphs will contain information about your files, their extensions and their size. We will use Google and their API for creating graphs. So lets start.
Read the rest
I’ve made a class that will search files for a given word/words. All you have to do is set parent folder, query and you’ll get results.
Script uses objects and I plan to make it better and more features. For now it’s very simple.
Read the rest
I needed a function that will take a string or a file and then split it into small SQL queries. I found few functions on Internet but they did not work as i expected. They all had following principle of work: