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.
Loading...
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.
This is a really 2 file way of making a unique hit counter.
If you make a new file called counter.txt and just type the number 1 on the first line.
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 moreThis script is widely used by many sites on the net. PHP provides an easy way to send mail via the function mail().
read more
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.
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.
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.
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.
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...
Copyright © . All Rights Reserved