getting lattitude and longitude by address


	public function getlatlang($address){

		

		$this->curl->create('http://maps.googleapis.com/maps/api/geocode/json?address='.urlencode($address).'&sensor=false');

		//  Rest Of The Code As In controller_curl.php

		$this->curl->option('connecttimeout', 600);

		// For SSL Sites. Check whether the Host Name you are connecting to is valid

		$this->curl->option('SSL_VERIFYPEER', false);



		//  Ensure that the server is the server you mean to be talking to

		$this->curl->option('SSL_VERIFYHOST', false);



		// Defines the SSL Version to be Used

		$this->curl->option('SSLVERSION', 3);

		return $data = $this->curl->execute();

	}