/* * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * Script name: date2saur.php ver 1.0.0 Description : This script is retrieves Saur date information from the gregorian date. Written by: 16-Sep-2024 - Infotools add PHP open tag on first line, closing tag on the last line and then save this file as PHP Hypertext Processor file. i.e. having extension .php Code review by: 16-Sep-2024 - Infotools Caution: 16-Sep-2024 - Infotools ver 1.0.0 Because this script is generated using proprietory code generator, changes in this script will need to be handled carefully. Assumption: 16-Sep-2024 - Infotools Remarks: 16-Sep-2024 - Infotools * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * */ $ans = null; define("TODAY", date("Y-m-d")); $dDate = $_GET['date']; if($dDate) { $url = "https://infotools.in/datelib/getsaur.php?saurdinank=".$dDate."&UserId=1234"; } else { $url = "https://infotools.in/datelib/getsaur.php?saurdinank=".TODAY."&UserId=1234"; } // // get data in json data format in the variable $response $response = file_get_contents($url); //