- 1,251 categories
- 40,829 scripts
- This is the simple example to list contents of any Directory. To do this we are going to define function DirDisply( ) which will read the current directory contents and display it as a list.
We first open current directory by $TrackDir=opendir(...
- Categories
- Platforms
- Licenses
- Despite what you may think, sending mail is a widely used practice in most scripts. Some use other methods, but the simple PHP mail() function is safe, reliable, easy to use and very useful. Below we''ll show you step-by-step different ways to u...
- Categories
- Platforms
- Licenses
- An introduction to the PHP include function and example an of how to use this to create a template base for your website.
- Categories
- Platforms
- Licenses
- The preg_match function of Php is often used and the online script here includes few examples which can be implemented in any code.
There is an online demo.
The code will be updated regularly.
- just added a preg_match_all example
- Categories
- Platforms
- Licenses
- Other Free / Open Source License
- You get a great function that use the GD library to create the new thumbnail file. Often you need to change the size/dimensions of images in your web site.
One example could be if you let your visitors upload an image of themself when they regi...
- Categories
- Platforms
- Licenses
- 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 folde...
- Categories
- Platforms
- Licenses