| Web Links [Tag : Function] |
|
1. Displaying the date using the date function
|
Tutorial was written for the newbie PHP programmer to show how to use the date function to display the date using PHP. We also show you the aruments to pass to the date function to display the date the way you want it. Also included are examples.
Hits: 2 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
2. Regular Expression Replace Function
|
A handy function for validating strings and replacing unwanted contents, by searching for matches with regular expression patterns. There are two functions - one that replaces pattern matches, and one that can call the first function multiple times, each time with a different pattern.
Hits: 2 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
3. Clear Screen Function
|
This function uses the Windows API to clear a console screen, and is useful for when the standard system("cls") is unavailable.
Hits: 2 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
4. Function and Class Templates Tutorial
|
This tutorial shows you how to reduce typing, reuse code and speed up development using Templates.
Hits: 2 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
5. Javascript Function to Check or Uncheck all Checkboxes
|
Use this Javascript function to check or uncheck all the checkboxes in a form. This function is specially designed for dynamic pages with varying numbers of checkboxes. Unlike other functions out there, it will work without error even if there are no checkboxes or there is only one checkbox. It is also significantly faster for long lists, because it saves the length of the checkbox in a variable, instead of recalculating it in the loop. Finally, the function is granted to the public domain--use it as you wish.
Hits: 3 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
6. getServer Path (function)
|
a simple function that returns the path to folder in which script subsides. Valuable in producing php programs that will be distributed randomly and require absolute paths. Just call this function and it will return everything up to the current folder. An example use is $serverPath = getServerPath(); $serverPath .= nameOfPageToBeRequested;
Hits: 2 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
7. Random Password Function
|
The random password function will return a password with letters and numbers. You pass the number of letters and numbers you want and it returns the alphanumeric password.
Hits: 2 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
8. Read Clicked Checkboxes Function
|
When using checkboxes for selecting multiple items, there is an efficient way to read all the clicked checkboxes and return a string of their values.
Hits: 2 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
9. Display random ads on your web site using random function of PHP
|
This tutorial will show you one of the ways to display random ads on your web site. Usually ads are displayed using an affiliate code in the place where we want to place them. We will use mt_rand(); php function to display random ads from an ad pool.
Hits: 3 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
10. Header() function to redirect your users.
|
This tutorial will give you some ideas on how can you use the header() function of PHP to redirect the users of your web page to different subpages or external web sites. Redirection depending on the browser or the language selected are great examples.
Hits: 3 Rating: 0.00 Votes: 0
|
| Member Reviews |
 |
Visitor Ratings |
 |
Google PR |
 |
|
|
|