PHP Web Development Tutorials

PHP Web Development Tutorials and Articles
  Title / Author Reverse Sort Order Replies
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...
Recently i had to implement a file split-er in PHP and was shocked find how LESS pre written scripts are available for the task. So thought of writing a quick one myself. If you just want the code, I have a fully featured php script hosted at github Just download it there and well CONTRIBUTE :)...
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...
Introduction PHP comes with an extensive catalog of date and time functions, all designed to let you easily retrieve temporal information, massage it into a format you require, and either use it in a calculation or display it to the user. However, if you'd like to do something more complicated,...
Sometimes you just need to know what country your site visitors are coming from - for example, if you're trying to implement geo-targeted advertising. This article will show you how. Sometimes you just need to know what country your site visitors are coming from - for example, if you're trying...
This is a guide, you will not have a stand-alone effect or file by the end of this guide, but you will - hopefully - have an understanding of the Unix timestamp that allows you a powerful form of managing your PHP applications. Note: This guide expects the reader to have an understanding on how...
Several protocols like POP3, IMAP and LDAP are supported. Various databases like Oracle, MySQL, PostgreSQL, Informix, Sybase, and SQL server can be easily integrated. Uses of PHP The database modifications like insert, delete and element modification is possible using PHP The system...
PHP tags Comments in PHP Executing PHP from command prompt Overview of variables Different PHP data types Scope of variables PHP tags The PHP tags are used by the user to divide the PHP code from the page elements. The content inside the tags is used and remaining is ignored by the...
We shall understand about the following loops in PHP. For loop statement The while loop The do while loop The foreach loop The continue statement The break statement For loop statement
Constants Operators in PHP Constants The name allocated to a value is known as constant. The value is fixed and cannot be modified by the user. It is case sensitive. The name of the constant starts with a letter, following numbers, letters, or underscores. It is case sensitive. The following...
The following conditional statements are used in PHP. if statement if ….else statement if….elseif…else statement switch statement 1. if statement The statement is executed only if the condition is true.
The elements in array are stored in an ordered format. The mapping of the elements is in key value pair. User can define the length of the array. There are different types of arrays in PHP. They are as listed below: Numeric array: It defines an array with a numeric index. User can access and...
Strings in PHP are similar to the ones used in other languages. They define a group of characters combined together to form a string. There are several string functions which can be easily used for data manipulation. User does not to perform separate installation. There are various...
The use of function is similar to other language functions, take one or more parameters as input, process and provide the corresponding result. The block of code to be used more frequently is added inside the functions. The execution of function is dependent on two points as create the function and...
This Code let you take a image search on Google easily and user-friendly. You can pre-specify image properties: image name or caption, size and dimension rank of image. Code Here: <?php session_start(); $_SESSION=0; ?> <link href="../../client/style.css" rel="stylesheet" type="text/css">
This is temperature conversion script, used to convert temperature from Celsius, Fahrenheit, Rankine, and Kelvin. The Code Include the script in your php project and call one of the conversion functions with a numeric value as its parameter to get some output. You can convert from Celsius,...
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...
Bubble sort in this form allows someone to order number arrays from lowest number to highest number and vice verse. This article serves the purpose of providing the bubble sort algorithm for use in php. I found a tuts @ active.tutsplus and I used it as a base to create a direct port over to php. ...
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 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...