Create / Export MySQL Database backup using PHP

How can you create a MySQL Database backup using PHP.If you think the database is too large as GB how do you get a fastest backup?In this post will describes how to create a MySQL Database backup/dump quickly instead of using phpmyadmin access using PHP.Also you can save your time to get backup.
Continue reading Create / Export MySQL Database backup using PHP

Import a MySQL database using PHP

How can I import MySQL database using PHP? Also if you have to import large size of MySQL dump, how do you import it easily? In this article is describing how to import MySQL database using PHP.In this method you can save your time instead of you import sql file in the phpmyadmin or database software.As my personal experience I tested this script using 2.125GB large database dump file. Continue reading Import a MySQL database using PHP

PHP read XML file using SAX parser

How to php read xml file using SAX parser.SAX means Simple API for XML.The SAX parser is work differently with DOM parser, it either load any XML document into memory not create any object representation of the XML document.
The advantage of a SAX parser is that it’s really lightweight. The parser doesn’t keep anything in memory for very long, so it can be used for extremely large files. The disadvantage is that writing SAX parser callbacks is a big nuisance.
Continue reading PHP read XML file using SAX parser

PHP Get unread Emails count in Gmail Account

How to get unread Emails count in Gmail Account using PHP.You can get unread Emails count by gmail feeds.Here is a example how to get unread email count in your gmail account. In here you must enter your gmail user name and password to access account.Another article, I was describes PHP Import Email Addresses from Gmail Accounts.But there user must be grant access his account to access data.I’ll describes how to access by using user grant access to get email count in later article.
Continue reading PHP Get unread Emails count in Gmail Account

PHP Import Email Addresses from Gmail Accounts

How to import user email addresses from gmail account using php.Now I’m going to explain how to import email addresses using google auth API.
The Google Contacts Data API allows client applications to view and update a user’s contacts. Contacts are stored in the user’s Google Account; most Google services have access to the contact list.
Continue reading PHP Import Email Addresses from Gmail Accounts

PHP get youtube,vimeo video url from string and check if exist and play

When you are working with php, probably your page includes youtube or vimeo video url in the description.Check that youtube/vimeo video url is valid and that video is exist, then it must be play in the page.So now I’m going to describes how to get only that video url from the description, check that video is exist and how to to play it.
Continue reading PHP get youtube,vimeo video url from string and check if exist and play