As with many other programming languages PHP has dozens upon dozens of functions that most developers simply will never use. There are many reasons why these functions may not be used. They may be too advanced, may be under-documented, may have hard to understand names or calling conventions, etc.
I've spent some time over on the PHP web site searching for functions that are extremely useful but underused by the majority of PHP developers. Today we're going to look at 10 of these functions. For the typical PHP programmer, many of these functions will be new and may even open up a completely new part of PHP that you never even knew existed!
For advanced developers, many of these functions will simply provide an easier way of accomplishing a specific programmatic task. For example, instead of looping through a binary file to write its contents to the browser, you can use the fpassthru() function to do this for you automatically.
Anyway, let's get on with the show and look at functions 1 to 5...
|PHP 101 Part 12 of 15 : Bugging Out|
Categories : PHP, Beginner Guides, Errors and Logging
|Array Manipulation With PHP|
Categories : PHP, Arrays
|Keep your Banner Waving|
Categories : PHP, PHP Functions, Miscellaneous, Site Planning, Utilities
|File And Directory Manipulation In PHP (part 1)|
Categories : PHP, Directories, Filesystem
|Multiple pages of data from a text file|
Categories : PHP, Filesystem
Categories : Databases, MySQL, PHP, PHP Functions
|File And Directory Manipulation In PHP (part 2)|
Categories : PHP, Filesystem, Directories
|Getting Intimate With PHP's Mail() Function|
Categories : PHP, Mail, PHP Functions
|PHP 101 Part 5 of 15 : Rank And File|
Categories : PHP, Beginner Guides, Filesystem
|Making Sense Of PHP Errors|
Categories : PHP, Errors and Logging
|PHP 101 Part 2 of 15 : Calling All Operators|
Categories : PHP, Beginner Guides, Operators
|Generating One-Time URLs with PHP|
Categories : PHP, URLs
|PHP for Beginners by a Beginner: Simple Login, Logout, and Session Handling|
Categories : PHP, Sessions, Authentication
|Alternating row colors with PHP and mySQL|
Categories : PHP, Databases, MySQL, HTML and PHP
|Simple Form-Based File Uploads|
Categories : PHP, File System