How to read csv file using php.This is simple.PHP file methods/ functions can be use to this.fopen(),feof(),fgetcsv(),fclose() are use here.Following function will return after read the csv file.
Continue reading Read CSV file using PHP
How can you send Email with attachment using php?In this post will describes how to send email with attachments using php.You can download source code and can be view demo.PHPMailer package can be use to this purpose easily.
Continue reading PHP send email with attachments
How to create simple but powerful captcha code using php.Here is a example of use captcha code to the form to avoid spams.I’ll describes how to create & use captcha code using php.
Continue reading PHP creating and using captcha – Best and simple way
How to send yahoo email using smtp server by php.You can send yahoo email using PHPMailer package.Simply pass parameters.
You can Download PHPMailer from here.
If you execute this function in localhost, you must enable “php_openssl” extension of the wamp/xampp.
Continue reading PHP send yahoo email using smtp
How to create text watermark using php?This is describes how to create simple text watermark using php.Tested in many browsers.Uploaded file type is same to final image type.Only you have to call to the function and get output.View demo and download source code. Continue reading PHP Creating watermark text
How to create image watermark using php?This is describes how to create simple watermark image using php.Valid image formats are jpg,jpeg,png,gif.Tested in many browsers.Uploaded file type is same to final image type.Only you have to call to the function and get output. Continue reading PHP Creating watermark image
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
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
How to access disable or prevent sql injections using php.This is a most important topic when you are creating a web site or web applications.So in this articles is describing how to prevent sql injections using php. Continue reading PHP prevent SQL Injections
How do I convert html file into pdf file using php.In the past, I found everywhere to convert html file into pdf file using php.Finally I found easy method to convert html page into pdf.In this article is describing how to convert html content or page in to pdf without worrying.
Continue reading Convert HTML into PDF using PHP
How to remove special characters in the string using php.This example it shows how to remove special characters from a string using regular expressions of php.
Continue reading PHP remove special characters in the string
How to creating simple xml file using php.I’ll describes how to creating xml file by formatting tags using php.
Continue reading PHP Creating XML file
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
Today I’m going to describes how to read xml files using php.I’ll explain this using simple php example.If you have simple knowledge about xml this is very easy job.
Continue reading Read XML file using PHP
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
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
How to process PayPal payment gateway using php.This post will describes how to doing a payment using PayPal gateway,payment errors and its solutions.
Continue reading PayPal Payment Gateway example with PHP
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
If you want to check elements if exist or not in the multidimensional array using php.So now I’ll describes how to check elements is exist or not in the multidimensional array.Simple way.Look at this function.
Continue reading PHP check element in multidimensional array
How to read file using php.Following example is describes how to read and display file content using php.php fopen() and fread() functions will help to do this.
Continue reading How to read file using PHP