| 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/ |
Upload File : |
<?php
phpinfo();
exit;
require_once 'cronjob/init.php';
$paramAPI = array(
'agencyID' => '3762332',
'agencyName' => "Test Agency",
'agentName' => "Test Name",
'contactNumber' => "9015562063",
'agentEmail' => "prashant@catpl.co.in",
'relationshipManager' => "Test Manager",
'source' => "FaceBook",
'activeSince' => "2024-09-24",
);
Zend_Controller_Action_HelperBroker::getStaticHelper('Custom')->sendAgencyDataToAPI('insert',$paramAPI);
exit;
$cityArray[] = array('CityId' => "10576", 'Title' => "Goa");
echo $cityArrayData = json_encode($cityArray);exit;
echo "<pre>";print_r($_POST);exit;
//$att = array("1"=>array("DocumentName"=>"PassportFront", "DocumentType" => array(1=>)));
echo $date1 = '2022-05-12 16:45';
echo "<br>";
echo $date = date('Y-m-d H:i', strtotime($date1. '-17 hours'));
//date("Y-m-d H:i", strtotime('-17 hours', strtotime($date1)));
//phpinfo();
// function sendInfo($url)
// {
// $ch = curl_init();
// curl_setopt($ch, CURLOPT_URL, $url);
// curl_setopt($ch, CURLOPT_HEADER, 0);
// if (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') {
// // SSL connection
// curl_setopt($ch, CURLOPT_PORT, 443);
// curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
// curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
// }
// curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
// $output = curl_exec($ch);
// //echo "<pre>";print_r($output);exit;
// curl_close($ch);
// return $output;
// }
//
// function sendInfoB2C($url)
// {
// $ch = curl_init();
// curl_setopt($ch, CURLOPT_URL, $url);
// curl_setopt($ch, CURLOPT_HEADER, 0);
// curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
// try {
// $output = curl_exec($ch);
// } catch(Exception $e){
// $output= $e->getMessage();
// }
// curl_close($ch);
// return $output;
// }
//
//
//
//
//$url = "http://103.239.139.156:8003/api/v1/car/airport-master/";
////$resultSet = sendInfo($url
//
////$url = 'http://example.com';
//
//$ch = curl_init($url);
//curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
//$result = curl_exec($ch);
//if(curl_errno($ch)){
// echo 'Request Error:' . curl_error($ch);
//}
//
//echo "<pre>";print_r($result);exit;
?>