PHP
PHP is an open source server side programming language for web application development.
Templating is crucial for separating your business logic from your presentation, but if your web app depends heavily on Ajax, it can be difficult to maintain both server and client-side templates without duplication. It can be useful to choose a templating engine which provides both client and server-side support allowing maximum reusability. Learn how to share your templates between PHP and JavaScript using Mustache.
Some web applications might require features of an email client to be made available the users. In these situations, we can either write our own or customize opensource clients like SquirrelMail or Roundcube. Regardless of what you choose, knowledge of working with IMAP mail will be helpful.
In this two-part series I’ll explain how to work with PHP’s IMAP extension. This is the first part which discusses the necessary functions for connecting to mail servers and reading messages. The second part will talk about actions for working with email, like deleting messages, downloading attachments, etc.
Introduction To Image Rotation Using PHP GD Library
In this tutorial I am going to explain how to create a online image rotator which can be used to rotate online images using the url of the image. PHP GD image library provides a function called imagerotate which can be used to rotate image on any given angle. Before we start let’s take a look at the syntax of the image rotation function is given below.
Tutorial Contents
- Introduction To Image Rotation Using PHP GD Library
- Online Image Rotator Demo and Download
- Creating Online Image Rotator
- Code Explanations
Introduction to Sharing Cookies in Multiple Domains
When we develop web sites and web applications we can use single domain or we can use different domains or sub domains depending on the requirements. Normally web site and web application will be hosted on different sub domains for reasons such as security,performance and server load.
Tutorial Contents
- Introduction to Sharing Cookies in Multiple Domains
- Setting and Getting Cookies Using PHP
- Examples for Using Cookies Correctly
Introduction To PHP Pagination
Pagination lets you divide your databse results to small chunks.Without pagination we will have to get all the resullts and display in a single page . It takes lot of load time and also page scroll gets very
long.
Tutorial Contents
- Introduction to PHP Pagination
- Pagination library demo
- Creating the Pagination library from scratch
- How to use the library
- Complete source code
Converting Array Values To Uppercase
In this post i am going to explain how to convert all the values of a php array into uppercase. This is important if your arrays are used in a case sensitive matching or validation. This can be achieved using 2 methods as shown below.
Tutorial Contents
- Converting Array Values To Uppercase
- Method 1 – Looping through the array and converting to uppercase
- Method 2 – Using php array_map function
Crop Images using PHP GD Library and Jquery Resize Cropping images is a widely used feature in modern web applications. You can upload resize and crop images according to your preferences and display in the web site. All these features are used in facebook site fo managing images. In this tutorial I’m going to explain [...]
File Uploading Tips for PHP In this post I’m going to give you the things to be considered in uploading a file securely using php. Sometimes we make small mistakes in these points and waste lot of time identifying the problem. So i hope this tips will reduce the time of your file uploading code. [...]
Analyze ZIP File Contents using PHP This code script is intended to show you how to get the information about the contents inside zipped file using php zip functions. This information is useful if you are going to develop an application like document storage which contains zip files. When you have list of zip files [...]
Introduction to Doctrine Hydrators Doctrine Hydrators allows you to convert the database record result returned from the query into a formatted object graph or an array. The results can be easily passed to your view files directly when you convert into an array or objects. Each hydrating method has different format for returning values and [...]
Follow Us On Facebook
