Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Find latitude and longitude of a place.

This code will help in finding the latitude and longitude of any place using curl and php. Step 1: Finding the latitude and longitude for first place. <?php ini&#95;set('error&#95;reporting', E&#95;STRICT|E&#95;ALL); ini&#95

Basic Block Syntax using Objective C

Block are piece of code introduced in ios 4.0. Block are used to make code cleaner and reduce dependency from delegates. To use the block first we have to declare the block and then its definition. Here is the syntax to declare to the Block. retur

Block variable in objective C

Block access the data in normal way as the other normal function do. Block can access any class variable or function variable out side it but cannot modified it. int x= 111; void (^printXAndY)(int) = ^(int y) { printf("%d %d\n", x, y); }; print

Wordpress “The Loop” have_posts and the_post

The following example can be used to refer if any posts exist. It have two functions like 'have_posts()' and 'the_post()'. The function 'have_posts()' checks to see if the current wordpress query has any results(post) to loop over, and the function

Using magento api to add all products to root category

To use soap api to add a products of categories into root category , first we need to create a magento user with the permission to access the api. Following code will be use to set products to root category $soap = new SoapClient('http://magentose

Using IndexedDB in Phone Gap application

The IndexedDB is used to solve the problem of offline storage mechanisms that are supported by all the major browsers.It uses WebSQL implemented in browsers like Opera and Safari to expose IndexedDB API for web applications. Websites are able to use

How to use WebSql to store data in Phongap App

Hello Today I am going to discuss about the use of WebSql in Phonegap. In Phonegap, if you want to store data locally on device, Web SQL can be used. Most of the sql queries can be performed in Web sql using method openDatabase that takes 4 argumen

How to list all child pages of current parent page in drupal 7?

Suppose I have parent pages A1 and B1. A1 has child pages A1.1, A1.2,A1.3 and B1 has child pages B1.1, B1.2. I want to list all the respective child pages on A1 and B1. In every child page I have an image and a title. These 2 information needs to be

How to catch phone number in string

While sending internal message on a system people usally share there phone number and making call outside the system which divert traffic from our system. So while exchanging messages within system we need to hide the phone number. This can be achiev

How to get location from lat long in php

By using google api we can find the location public function getAddressByLatLong($loclatitude='',loclongitude='') { $loclatitude=trim($loclatitude); $loclongitude=trim($loclongitude); $apiurl = 'http://maps.googleapis.com/maps/api/geocod

1 64 282
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: