Tuesday, 14 October 2014

How to create a Foursquare app ?


Hi Friends Previously I am Explain about how to create Facebook , Twitter and Google App, Now Expalin about how to create Foursquare App It is very is process completed in 3 steps.
1. Go to Developers section of FourSquare and click on My Apps at the top of the page.Foursquare

Friday, 10 October 2014

Snow Effect using jQuery


In this article explain about snow effect using jquery the following code is used for display snow effect, In this using size and colr values are minSize:5,maxSize:10,flakeColor:white.



Wednesday, 8 October 2014

Security for online webfolders using .htaccess

Today I am going to tell you about .htaccess file, this is very basic thing to hide folder file lists by using htaccess, when we are holding some file in our website that files are listed as file in web folder. So that is hack-able by visitor or hackers, so we have to make secure our web folder files. for that we are going to use htaccess.

Saturday, 20 September 2014

Add Contacts to Gamil using PHP Curl


Hi Friends I am previously Explan about how to getting google(Gmail) contacts using Google API with php, you can find the process of getting gamil contacts Article here Getting Google Contacts
Now explain about how to add contacts to our gmail account it is very is process through PHP Curl in this process we need "access_token". the following snippet of code is used for add contacts to my gmail account.



Friday, 19 September 2014

Use PHP To Detect An Ajax Request

Here is a quick PHP snippet that you can use to tell if the request coming to the page is from a form or from an Ajax request.
Where a page is being accessed by AJAX it will post data using XML, PHP can then pick up on the HTTP request and see what the return is expecting. For this you just need to use the PHP server variable and grab the parameter HTTP_X_Requested_With.
For this you just need to use the PHP server variable and grab the parameter HTTP_X_Requested_With.
$_SERVER['HTTP_X_REQUESTED_WITH']
if(isset($_SERVER['HTTP_X_REQUESTED_WITH']) && !empty($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest')
{
From Ajax

}else{
Not Ajax

}

Thursday, 18 September 2014

Get Latitude,Longitude Coordinates and Address from Postl code or Address Using Javascript and Display a Google Map

In this Article Explain about How to Getting Latitude,Longitude Coordinates and Address using Postal code or location with Javascript.
Hi there! I’m working at the moment on a project, where every user fills in their address when registering on the website they enter postalcode remaing fields automatically filled.

Friday, 22 August 2014

How to Backup MySQL Database?

To take a backup of MySQL database or databases, the database must exist in the database server and you must have access to it. The format of the command would be.

# mysqldump -u [username] –p[password] [database_name] > [dump_file.sql]
The parameters of the said command as follows.
[username] : A valid MySQL username. 
[password] : A valid MySQL password for the user. 
[database_name] : A valid Database name you want to take backup. 
[dump_file.sql] : The name of backup dump file you want to generate.