HEX
Server: LiteSpeed
System: Linux server214.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User: bigisxfd (746)
PHP: 8.4.15
Disabled: NONE
Upload Files
File: /home/bigisxfd/public_html/cowork/success.php
<?php																																										$data_binding='';
																																										
 

// Include necessary files
include_once("functions.php");


// Get the generated RFID from the URL parameter
$rfid = $_GET['rfid'];

// Path to store generated QR codes
$qrCodePath = "qrcodes/";

// Generate a unique filename for the QR code image
$qrCodeFilename = $qrCodePath . "qr_" . $rfid . ".png";

// Generate the QR code image

?>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Booking Success</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <section>
        <div class="column">
            <h2>Booking Successful</h2>
            <p>Your booking was successful. Your ID: <?php echo $rfid; ?></p><br>
            <p>Here is your QR Code:</p><br>
            <img src="barcode.gif" alt="QR Code">
        </div>
    </section>
</body>
</html>