Dear Team, I have a problem with of how to encrypt and decrypt the values passed in the url
url code:
return "<a href='abc.php?employeeFirstName=" . $row['employeeFirstName']. $branchString." & start=" . $this->params["dateRange"][0] . " & end=" . $this->params["dateRange"][1] . "'target=\"subreport\">$value</a>";
encrypt code:
return "<a href=performanceenquiryindex.php?employeeFirstName=$encryptId1.$encryptId2&start=$encryptId3&end=$encryptId4 target=\'subreport\'>$value</a>";
decryptcode:
$Abc= new abc([
if(isset($_GET['employeeFirstName']))
{
$employeeFirstName=decrypt_url($_GET["employeeFirstName"]);
}
if(isset($_GET['brnchName']))
{
$brnchName=decrypt_url($_GET["brnchName"]);
}
if(isset($_GET['start']))
{
$start=decrypt_url($_GET["start"]);
}
if(isset($_GET['end']))
{
$end=decrypt_url($_GET["end"]);
}
]);
$Abc->run()->render();