PHP Web Development Tutorials

PHP Web Development Tutorials and Articles
  Title / Author Replies
Views
Many times it is required for us to calculate the time remaining and display it in a very understandable format like days,weeks,hours etc. Here is a function i wrote to do the same. //FUNCTION FOR TIME LEFT function time_left($integer) { $seconds=$integer; if...
2
32,743
A trend with a lot of new Web Designers is to blindly go for ASP or JSP for creating dynamic and interactive websites. Why use PHP for server-side scripting? This question comes in mind of a lot of Web Designers, especially in mind of designers/programmers who are only exposed to much hyped server...
14
21,739
File upload is very common requirement of many web sites. We may require to upload pictures online to websites. Image upload is very common requirement and many sites are using this to allow members or visitors to upload files. We will learn how to upload multiple files using a single form. This...
8
31,880
Mysqli extension provides us to access the functionality offered by MySQL 4.1 and above.The i in the function name stands for improved (MySQL Improved). The mysqli extension is built using the PHP extension framework.The MySQLi library is much more optimized and quicker than the previous MYSQL...
1
2,285
Memcached is a high-performance open-source caching solution, generally used to improve web application performance by avoiding round-trips to RDBMS, to know more about memcached read Faster Webapps With Memcached. In this article we'll discuss about installing and using memcached in PHP. A PHP...
0
2,511
PHPExcel project provides a set of classes, which allow us to Read, Write and Create Excel documents in PHP. File formats, supported by PHPExcel are .xls, .xlsx, CSV, .ods, Gnumeric, PDF and HTML. Requirements for PHPExcel: PHP version >= 5.2.0 PHP extensions php_zip,php_xml,php_gd2...
0
4,068
This functions solves the problem of always writing the same code to check if a get or post request is set or not. Background I created this because I was tired of the extra code needed just to see if a request variable has the array key set or not. I don't want to use error suppression...
1
2,809
Every web-applications needs to transfer data from one page to another and one of the way of doing it is using sessions in PHP.. Sessions are a special type of variables used to transfer/carry data from one page to others.. In this tutorial i’ll be covering PHP version 4.1.0 and above.. Using...
10
6,971
A Comma-Separated Values(CSV) file stores information in a list with a comma between each item. A CSV file may consists of any number of records. CSV file format is widely supported by scientific applications, and various consumer and business applications. There are a few variations where...
1
2,514
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...
0
2,214
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...
0
2,066
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...
0
2,105
How To Find Similar Sounding Words Let say a condition where we wanted a utility that finds a matches of words which sounds all same. For example, stupid/stpid/stuuupid/sstuuupiid would all have the same soundex code, S313, Soundex is a phonetic algorithm which computes a soundex value for each...
0
3,867
Creating dynamic XML with PHP When working with XML-based applications, developers often find themselves facing the requirement to generate XML-encoded data structures on the fly. Examples of this include an XML order template based on user input in a Web form, or an XML representation of a...
7
18,905
In this article we will create file based simple yet successful captcha generator. 3 Major Anti-spamming techniques used? Mathematical Operation like Random number + Random Number = -> The user must specify the answer Random word -> User must type the word Random question -> Obvious one...
5
12,174
Introduction Roman numerals are a great way to add a bit of class to a web page. They are often used in official titles, such as the XXXIV Pennsic War (34th). The rules for Roman numerals are straightforward and therefore lend themselves to being scripted. The basic rules of Roman numerals...
2
21,831
Article is about making a simple yet powerful Gallery system using PHP, AJAX and Lightbox Background Some days ago i started ma new project im building our site (for the 4th time) :D Thought to do a real difference so everything i needed to code by me. Hope this will help you too. The...
7
9,875
Let us say you have some images and want to watermark those images with some other gif, jpeg, png images or with some plain text on the fly in PHP. It actually looks tough but it is very simple. Let us take a real time example of profile picture option we have here at Go4Expert.com where if you...
6
5,961
This time I took a bit of a change from the usual subjects I write, not a big change though. The reason for writing this set of articles (More to come and there's another beginners one as well) is because I felt that there isn't a proper or complete guide written for the pure beginners to start...
0
4,419
These functions allow you to get the mean, the median, tell if a number is even or odd, strip an array of all strings and characters, and provide probability. The mean function works well if your trying to implement a rate system. just filter the input values of the array and it will work...
1
2,470