logo
May
21
Marijan Šuflaj

Multi-Language Site

It’s been a while since I last posted something because I was very busy. So let’s do something useful now. Reader Tien Phuong requested a tutorial about multi-language sites and how to create them so now I’ll try to show you one way. We’ll use database to store our translations and languages. So let’s start.

Read the rest

Sep
25
Marijan Šuflaj

PHP Confirm Registration Link

This will be quick tutorial on how you can implement confirm registration link into your PHP application. This will not be anything fancy, just simple HTML and PHP to show you how this work and one way how it can be implemented.

Read the rest

Sep
2
Marijan Šuflaj

PHP Walker Class

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.

Read the rest

Jun
5
Marijan Šuflaj

PHP Disk Space Explorer Class

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

May
8
Marijan Šuflaj

Search class

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

Apr
26
Marijan Šuflaj

Adjustable visit counter

Here’s a simple tutorial on how to create a simple and adjustable visits counter. Our counter will use MySQL database to store information about visitors. If someone wants I can make a small tutorial on how to rebuild it to use XML instead of MySQL database.

Read the rest

Apr
19
Marijan Šuflaj

Multi-query function

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:

  1. Take a string
  2. Use function explode and “;” as a delimiter to create an array
  3. Execute each row in array

Read the rest

Apr
13
Marijan Šuflaj

5 useful functions

I would like to share with you a couple of functions that use a lot and I consider them quite useful.

Read the rest

logo
Powered by Wordpress | Designed by Elegant Themes | CopyRight ©2010 php4every1.com