25 New & Useful PHP Techniques & Tutorials
PHP is the most popular and widely accepted server side scripting language among developers due to its easy to learn nature, free of cost and its large ever increasing helpful community. Here are 25 useful PHP techniques and tutorials, most of which have been published only in this year.
How does facebook rotate images in gallery. Here’s a nice solution using the inbuilt imagerotate functionality in PHP. View Demo »
Learn how to integrate Google Analytics data into your website using an easy to use PHP API
View Demo »
Learn how to cache database intensive heavy pages and serve the static html cached files utilizing the output buffering in PHP
In this article you will learn, how you can read Microsoft Excel Sheet in PHP using Open Source Tool PHPExcelReader.
If you are a PHP developer, you surely must have done XML parsing at some stage or the other. Parsing XML using XPath is far more better than other techniques, not only because itâ€™s quite simple but also because itâ€™s extendable.
Grabbing emails from your Gmail account using PHP is probably easier than you think. Armed with PHP and its IMAP extension, you can retrieve emails from your Gmail account in no time.
View Demo »
A simple way to keep track of many files is to use a directory tree. A directory tree lists out files and directories so that itâ€™s easy to find what youâ€™re looking for.
A simple straightforward function that sends HTML e-mails with a plain text counterpart for those over 80 and still using AOL 2.5.
The config file typically holds information that will be used over and over again, such as database info. Today, we will have a look at a simple example of using a custom ini file to set our preferences.
This article will focus on getting data from a database using PHP, converting that to an XML document, and reading that XML in through jQuery via Ajax calls. Seems complex, but is in fact, very easy.
Hereâ€™s how to create a basic web service that provides an XML or JSON response using some PHP and MySQL.
Ever thought of how those URL Shortening services work. Have a look at a nice technique to create your own URL shortening service.
Find out how to automatically detect and tag a face in an image.
Everyone seems to be all about Twitter so hereâ€™s some simple examples of how to update your Twitter status from a command line prompt, web server or simple html web site.
APIs have become a very commonplace part of many popular web sites and services, especially REST APIs. This article discusses how to get, post, put and delete with a REST API in PHP.
Simultaneously fetch data from multiple websites using CURL’s multithreading option.
At times, you may wish to make certain pages of your site only viewable to a select few, you can do this by using PHP’s built in HTTP Authentication.
To copy a directory source to a destination directory you will need to scan the source directory with all files and directory and copy to the destination. To accomplish this we should make a recursive function that will copy the files from source to target dir.
Secure your file upload forms and prevent malicious users from attacking your web app.
Sometimes we want to extract the HTML content of the remote website page, this technique is called as HTML scraper. This article will discuss on how we can extract the HTML content of the remote webpage.
In this article, you will get a list of PHP secure login tips and tricks that will definitely help you decide on your secure rating of your login page.
This technique is a powerful and simple way to reduce page download size and speed up your site that will work with most PHP installations
The database is the most important part of a web application. Imagine losing all of the data in your database â€” it would be tragic. Hereâ€™s a PHP snippet that outputs your database as XML.
This article breaks down the fundamentals of debugging in PHP, helps you understand PHPâ€™s error messages and introduces you to some useful tools to help make the process a little less painful.
Optimizing means reducing loading and execution times, improving the user experience by making the application reacting more responsively. If your language of choice is php, fortunately this process takes only 5 minutes.