Learn how to execute your PHP scripts using CRON by set time intervals that you choose. Very valuable for running routine tasks that were written into a PHP Script.
On PHP DevCenter, Adam Trachtenberg and Joao Prado Maia have described interesting ways to localize web sites with PHP. In this article I've offered another alternative, which should be easy for non-programmers to use. We will take advantage of the user function setstring function.
In this tutorial, you'll learn how to make a script that changes the layout of your site according to the users preference. They can choose how they want to view your site.
The full URL to a page comes in three parts: The domain name, the path to the file then the filename, and the query string. For example, take the URL http://www.example.com/ex ample/page.php?name=Bob:
1. The domain name: www.example.com; 2. The path to the page: /example/page.php; 3. The query string: name=Bob
So how do you find it all out in your own PHP scripts?
This guide will tell you how access each of these elements by using the $_SERVER superglobal array which is available at all times within your PHP scripts.
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris
As more and more Web pages become database-driven and dynamic, it will be important that Web browsers display the most up-to-date information available from your site. The author notes "For those who have been in the PHP field for some time, dealing with this issue is nothing new. The problem itself has nothing to do with PHP at all. Rather, it is the client's browser that is the source." This article addresses such topics as PHP and Browser Caches and Cache Controlling Headers.