PHP Web Development Tutorials

PHP Web Development Tutorials and Articles
  Title / Author Replies
Views Reverse Sort Order
Smarty is a templating engine for PHP, it's one of the most popular templating engine used by PHP developers. Using a templating engine helps businesses separate presentation logic & application logic. Templating, you can say is a way to separate the business logic from the presentation...
Many times we require to format a number to output with thousand place comma separator, here is a function will help you do so. function numcomma ($value) { if(strpos($value,".")) { $decimalval = substr($value,strpos($value,".")+1); $value =...
File Transfer Protocol or popularly known as FTP has been a de facto standard for transferring files for many years, can be used in many programs / utilities like backup programs, etc. PHP is being increasingly used in writing scripts for maintenance and other purposes and the FTP extensions...
PHP being the most popular & easy to deploy language for web applications offers a large number for functions for sorting compared to other languages like Perl, Python, etc which hardly have a few basic functions which have to be extended by the programmer. PHP reduces coding time by providing...
Allows you to include dynamically a single file, a list of files or a whole directory. No more tedious include statements. Background This is designed to be similar to Java's package system but instead uses a directory, file/s or */ALL, and include type(INC, IN_O, REQ, REQ_O). The reason is...
This class is a wrapper for array's that allows you to use oop to create and manage an array Background This class is inspired by Java and C#'s array class. The Code If you'd like to use oop to manage an array this class is meant to provide a data type of sorts for that effort.
Creates a class that acts as a string wrapper similar to Java and C#. Background Php doesn't do types so I created a class to act as a wrapper to provide a faux type for strings The Code The code is designed so that you can create text variables which have there own methods that you...
CURL is a command line tool for sending and receiving files or other data with URL syntax.CURL supports many protocols for example HTTP, FTP, HTTPS, TELNET, etc. When it comes to PHP/CURL, it is a module that allow us to use libcurl PHP library. Uses We can use PHP/CURL for HTTP form based...