Loading...

Search Results in category “PHP”

in PHP
Page Navigation & Online Users & Chmod

Many people have asked me how i got index2.php?page=link
Basically what happens, is where ever the folllowing code is put on your main php page, is where the the page link.php will go.

read more
in PHP
IP Banning

Like many webmasters, you're bound to attract some annoying visitors, such as spammers. This is inevitable, but you can fight back. The simplest method of cyber combat is banning the IP, although this is not the most powerful method it works 90% of the time.

read more
in PHP
Random Quotes

Learn how to make Random Quotes using the power of PHP.
Many people email wondering how the heck we make the random quotes on the title bar at the main page. Well, we're finally releasing the secret, and its not as hard as you think :) Lets write the code to pick a random quote using PHP.

read more
in PHP
PHP Live Counter: Online Users

Editor's Pick in Web Programming, June 2006
This is a really great script to use for anyone who is wanting to gain more statistics regarding the number of people who visit your site and so forth. Take a look.

read more
in PHP
Retrieving data from a database

Before getting started, I'll assume you already know how to connect & select the database of your choose.
Retrieving data from a database is a common task for web database applications, the most common use is to display the data in a web page.

read more
in PHP
Last Modified and User's Screen Resolution Detection

An easy and efficient way to write the date a file was last modified.
We call the function filemtime() that returns an integer (the number of seconds elapsed from Jan 1st, 1970 00:00 GMT) Anyway, to make this integer viewable by human beings, we just format it using date() function.

read more
in PHP
PHP Counter

A counter is a simple yet essential script when developing web pages.
First of all, we need a file where to store the data ( a simple text file). This file must be CHMODed to 777 (under Linux)
Let's name this file "data.txt". Do not forget to include it into the same directory as the PH...

read more

Copyright © All Rights Reserved