Sunday, February 19 2017

How to customize blogger template

In this post we have explained about how to customize the blogger template. Blogger is a most powerful platform to expose your ideas. I would prefer blogger for beginners to startup their blog.

See our demo video on Youtube:


In this post we have explained about the how to setup the vitual host on xampp for our windows.
We can able to create more than one virtual host on our machine.
Why we are for create virtual host, to optimize the home page URL for all projects.

Step 1:

Point your directory on F:\xampp\apache\conf\extra\httpd-vhosts.conf.

  • Open the file named httpd-vhosts.conf with a text editor.
  • Around line 19 find # NameVirtualHost *:80 and uncomment or remove the hash.
  • Add below code at the bottom of that file.
  • Modify your directory path in below code.
<VirtualHost *:80>
    DocumentRoot "F:/xampp/htdocs"
    ServerName localhost

<VirtualHost *:80>
    DocumentRoot "F:/xampp/htdocs/devel/laravel/public"
    <Directory "F:/xampp/htdocs/devel/laravel/public">
	Options Indexes FollowSymLinks ExecCGI Includes
        Order allow,deny
        Allow from all


We had published javascript library for signature pad using html 5 canvas. In this post we described about how to capture signature using HTML5 Canvas. Here we are using To draw a line using HTML5 Canvas, we can use the beginPath(), moveTo(), lineTo(), and stroke() methods. beginPath() method to declare that we are about to draw a new path. lineTo() method to draw a straight line from the starting position to a new position. we can apply a stroke to the line using stroke().



We had published article about Pear library. Why we are using pear library because in export option they gave simple and flexible with ease of code implementation. In also their documentation clear to understand. Here we gave sample of how to Export XLS file using Pear with PDO and to export the users information as excel file with PDO OOPs .  Once you do with our sample code and if you are got idea you can customize code as your wish. 




In this article we have explained about PHP Login and Registration System with PDO script. PDO connection is always secure and flexible support for all databases. PDO has an ease of code implementation. We were implement a sample PHP login and sign up system with PDO.



In this post we have explained about how to generate strong password in PHP. Following function is very easy to generate strong password with alphanumeric and custom special characters too.



In this article we have explained about how to upload an image with resize using simple php script. Save image as your width and height.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<title>Upload Image File and Resized</title>
		<form enctype="multipart/form-data" action="" method="post">
			<input type="file" name="files" />
			<input type="submit" value="Upload File" name="upload"/>


When you are integrating google maps for locations you may need to know their latitude and longitude values. In that time pass your address through for api request.It returns the values as json output. The values are stored into database. So next time you can search the location in table. If it is not found you can send api request and store it.Why we are store the values in database because to avoid of frequent usage this is free api even it has some limit of access. when we frequent request the server doesn’t respond immediately. So that’s why we store the values.

In php:

For example



$output= json_decode($geocode);

$lat = $output->results[0]->geometry->location->lat;
$long = $output->results[0]->geometry->location->lng;


CREATE TABLE `test`.`geocode` (`location_id` INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, `city_name` VARCHAR(255) NOT NULL, `latitude` VARCHAR(255) NOT NULL, `longitude` VARCHAR(255) NOT NULL, `status` TINYINT(2) NOT NULL DEFAULT '1' COMMENT '1-Active,0-Deactive') ENGINE = InnoDB;


Subscribe Our Channel

Email Subscription
Watch Tutorials
Copyright © 2015 - 2022 PHPEXPERTISE.COM