PHP Tutorials
PHP is the most popular programming language in web development. Find the tutorials, snippets, articles with demos in this category
How To: Update Facebook status using PHP Curl?
We can update facebook status using PHP Curl from our website directly. This status updation code will use mobile home page of facebook and updates your status. read more
How To: Update Your Twitter Status Using PHP.
Twitter is social networking website which keeps your followers with you. Twitter provides an extensive API using which we can update twitter status through PHP code.
What is php.ini File and Why we use it?
PHP.ini is very useful and it is a configuration file that is used to customize behavior of PHP at runtime. This enables easy administration in the way you administer Apache web server using configuration files. The Settings in which upload directory, register global variables, display errors, log errors, max uploading size setting, maximum time to execute a script and other configurations is written in this file.
MySQL date_format: To get date in different styles.
My SQL has a special function that allows the developer to format the date in any way they wish by specifying a sequence of format strings. A string is composed of the percentage symbol ‘%‘ followed by a letter that signifies how you wish to display part of the date. These are some of the more common strings to use:
How To: Create database indexes in PHP/MySQL ?
Any RDBMS like MySql are geared to perform read operations better than write operations. The efficiency in read operations are achieved by database indexes.
Indexes are most important in optimizing databases. If an application has large database then it is always optimized and indexes are part of this section.
HOW TO: Convert Linux Date to text using PHP functions?
In PHP, purpose of date function is to format a UNIX time integer as text according to a specially encoded format string. Here you can see the process for this. We can use different parameters to get our required format.