In this tutorial we'll learn how to install phpLD (pho Link Directory), the free version, from downloading the script to the last settings to make it work.
Setup your own RSS feed that pulls data from your PHP/MySQL-driven web site. Use PHP to create the XML/RSS document RSS Readers require to inform visitors of your web site database's content updates.
Modern web-applications often provide (during registration, or password-reset) random-generated passwords for its users. However these passwords (usually a random combination of letters or numbers) are quite hard to remember: in fact, it's even impossible to read them. This article provides a function for generating English-like readable passwords.
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris
Here is a pre build php function free for you to use in your own sites, this will check the string you run though it and check that its a vailid email address.
Scheduling events to run at certain times can be a useful feature. You may want to backup your database or update a set of files you have cached on your server or perform any number of other resource intensive tasks. You can manually visit the page and this works fine if you have a good memory, it isn't time critical and it doesn't need to be run several times a day.
If you and your task don't fit into all those categories (and even if you do but have better things to do with your time) a better alternative will be to run your script using cron.
In this article I list the options for scheduling a task to run periodically and I go into detail on running a script with cron.
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
Did you know that require() and include() work differently? Both are used for including code in another file into your program, but there is a crucial difference in how they operate when that file cannot be read which any PHP programmer needs to know about. There's also a slight difference with require() between new and older versions of PHP which this tutorial discusses too.
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris
What is the biggest time saver for a programmer? Good specs definitely help. A well-architected framework doesn't hurt either. Add your favorite here: a competent debugger? Extreme Programing? Whatever. At the end of the day, the largest gain comes from writing less code for the same task...
At first sight, PHP lacks functional programming support. Actually, there is create_function() and the array_map() family, but these are mostly useless. So I looked at another language for inspiration...
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris
This is a simple tutorial that shows you how to make information or images(in this case buttons) display in a specific number columns per row when extracted from a mySQL database using a query, using a specific algorithem and loop.
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris