In PHP, despite the big choice of functions, there is not a specific function to add an interval of time, that could be a day, hour, month or year to a given date, therefore we have to code something to do the job. In these series of articles, we'll try to make some functions that could be useful for your applications.
A simple guide for installing and configuring the popular web server Apache 2.0.59 together with PHP 5.2 and MySql 5.0.45 on Windows operating System.
Added: 10/20/2007,
Hits: 428,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating
A collection of 14 tutorials on Apache and PHP installation and configuration covering: How to download and install Apache 2.x and PHP 5; How to start Apache server; How to publish HTML documents; How to set PATH variable for PHP; How to create php.ini; How to configure Apache to use PHP as CGI; etc.
Added: 08/15/2007,
Hits: 570,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating
Lets say you have a Web site with 10 or so pages, and you want to update the navigation. You don't want the hassle of updating every single page. That's where includes come in handy.
Added: 05/27/2005,
Hits: 364,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating
In this tutorial you will get some of the basics of PHP and should allow you to do most things you will want to.
Added: 07/27/2010,
Hits: 137,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating
This tutorial is provided for people with no PHP experience. It covers basics, such as variables, forms, sending email and MySQL databases.
Added: 02/16/2003,
Hits: 515,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating
Very common task is to count outgoing clicks has been described here. The script is very small so you can easily add it to any complicated web application.
Added: 02/18/2004,
Hits: 324,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating
This is a short article which shows you how to make a simple guestbook by capturing the visitor's input and storing the data in a database using PHP. You'll need to know a bit of HTML, PHP and MySQL in order to do the task.
Added: 06/05/2004,
Hits: 1,010,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating
For any popular website you will need to have a good statistics script. This tutorial will teach you how to build your own MySQL based counter script.
Added: 02/18/2004,
Hits: 300,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating
What time is it? How many seconds have passed since the UNIX Epoch started?
Added: 01/29/2004,
Hits: 310,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating
Do you know the difference between the common echo() and print() functions? Also you will find here a basic description of variable functions in PHP.
Added: 01/29/2004,
Hits: 205,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating
Let us learn a wonderful way to output the records from any database table in a random order. See the bad and the good examples of coding here.
Added: 02/18/2004,
Hits: 213,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating
Here we have a single PHP script to add new records to the guestbook and also to show them on the page. It is a file based guestbook!
Added: 01/29/2004,
Hits: 246,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating
It is a good practice to check if the file exists already before creating that file. Learn a proper function here.
Added: 01/29/2004,
Hits: 212,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating
Why should you lock the file every time when you write or read data? Cause two instances of your script could be writing data to the same file in the same time.
Added: 01/29/2004,
Hits: 236,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating
Do you know how to create a PHP script for uploading files to your server? You should know two basic things: a proper piece of HTML code and a few lines of simple PHP.
Added: 01/29/2004,
Hits: 276,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating
Do you know that it is possible to format date/time field value just right in the SQL query string using embedded MySQL function? It is the most convenient way actually.
Added: 02/18/2004,
Hits: 193,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating
PHP also has the Here Document output style. It allows you to embed text data in your scipt.
Added: 01/29/2004,
Hits: 177,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating