PHP Tutorials

Best PHP Forums




Forum is a place where you can start share and discussion with many other users on any topic. Any forum member can reply to your messages any time and you can see them anytime. There are many free open source forums available. PHP is popular open source in web technology. So in this tutorial we will discuss best PHP forums. Best PHP Forums   phpBB If you are looking for …

Continue reading




Timezone Conversion in PHP

timezone conversion




Today in this tutorial I will let you know how to convert date and time from one timezone to another timezone in PHP. Following is a simple method with simple example of timezone conversion in PHP. You can use the DateTime object and their function aliases like as below: Result is as follow: DateTime is exists on PHP 5.2 and above. Hope this tutorial will help you.




Send emails from local using XAMPP with SMTP

Send emails from local using XAMPP with SMTP




In this tutorial I will explain how you can send emails from local using XAMPP with SMTP settings. It will help you to check the display of the email body on your local system. Open D:\xampp\sendmail\sendmail.ini file and change the below values : Now open D:\xampp\php\php.ini file and change below: Now you don’t need to use any SMTP details in your application. Just use php mail() function like below. Hope …

Continue reading




Take a Screenshot Using Html2Canvas JS

Take a Screenshot Using Html2Canvas JS




In previous post I have explained about Feedback with screenshot using feedback JS, which is using Html2Canvas JS to take a screenshot, now In this tutorial I will show how you can take a screenshot using Html2Canvas JS. This script allows you take a screenshot of a part of the web page also. You can download Html2Canvas jQuery plugin from https://github.com/niklasvh/html2canvas/releases. Following is an example to take a screenshot of full …

Continue reading