| Home : PHP : Articles, Tips & Tutorials : General |
| Click "Subscribe" if you want to be notified of new or updated links in this category. | Subscribe |
|
General Listings |
|
Total:
24 | Displaying: 1 - 10 | Pages: 123 |
|
|
PHP Include Files (SSI)
|
Website
Refer
Review It
|
You can insert the content of one file into another file before the server executes it, with the require() function. The require() function is used to create functions, headers, footers, or elements that will be reused on multiple pages.
This can save the developer a considerable amount of time. If all of the pages on your site have a similar header, you can include a single file containing the header into your pages. When the header needs updating, you only update the one page, which is included in all of the pages that use the header...
Updated: 05/01/2004
|
|
PHP Functions
|
Website
Refer
Review It
|
The real power of PHP comes from its functions.
In PHP - there are more than 700 functions available. Of course, you can write as many of your own as needed...
Updated: 05/01/2004
|
|
Interactive Maps with PHP
|
Website
Refer
Review It
|
I`m working to develope a web-based Geographical Information System (GIS) and one of the big problems I had was to write an easy algorithm to zoom a portion of a map...
Updated: 02/16/2004
|
|
Using PHP As A Shell Scripting Language
|
Website
Refer
Review It
|
As most of us already know, PHP is the best language for developing dynamic web pages available today. Not many people are aware that it can be used as a shell scripting language as well. While PHP as a shell script isn`t as robust as Bash or Perl it does have definite advantages, especially if you`re like me and are more proficient in PHP than you are in Perl...
Updated: 02/16/2004
|
|
Timing Script Execution
|
Website
Refer
Review It
|
No doubt you`ve all seen on Google`s search page where it tells you how long your search took to complete. This, and some talk I noticed a while back in one of the forums about some of the scripts that were taking a while to execute made me think about how you would go about timing your scripts...
Updated: 02/16/2004
|
|
Replacing Perl Scripts with PHP Scripts
|
Website
Refer
Review It
|
With the introduction of version 4.2, PHP has started supporting a new SAPI (Server Application Programming Interface) called CLI (Command Line Interface). This facility was introduced to help developers create small shell applications (scripts) with PHP. So, now you can kiss Perl goodbye forever...
Updated: 02/16/2004
|
|
Page Titles by Folder Names
|
Website
Refer
Review It
|
This is a useful little (very little) script for changing the title of multiple pages based on the folder name. This comes in handy if you have several pages with the same title within one folder. I used it in a case where I had a main.php3 template in several different folders, but wanted each main page to have a different title (I used includes to make the content vary). Whatever you use it for, it`s small and relatively easy...
Updated: 02/14/2004
|
|
A Simple News-Driven Site
|
Website
Refer
Review It
|
The goal of this tutorial, as you probably guessed by the title, is to help you (yes you) create your very own news-driven web site. Now, this doesn`t have to be a system as glorified as something like Slashdot or some of the other big news sites. All you may need is a simple system for displaying news and for editing/adding news to the front page. Well, look no further - I will show you how to create a nice simple news-driven site using nothing but some pretty simple PHP and a MySQL database...
Updated: 02/14/2004
|
|
Search Engine Friendly URLs with mod_rewrite
|
Website
Refer
Review It
|
Friendly URL`s are a very important thing to have when developing a dymanic content site that uses long query strings. A query string is something similiar to a URL like you`ll see on Ebay, Google and other big sites. If you`re running a small to medium size website and you want to make your URL`s a little easier to find you can do so via Apache`s mod_rewrite by following this tutorial...
Updated: 02/14/2004
|
|
Build an Online 5 Star Rating System!
|
Website
Refer
Review It
|
When you add an online rating system to your website, you will be able to give your users a chance to vote on your articles, tutorials, pictures or whatever you want. This gives your users a certain level of interactivity and tends to create a little more of a bond between for them with your website. In this tutorial, I will show you how to create an online rating system that is dynamic and uses PHP` if else statements and MySQL...
Updated: 02/14/2004
|
|