This commit is contained in:
Hamza-Ayed
2026-04-30 17:34:02 +03:00
parent b602106b79
commit 24d38160c0
2 changed files with 18 additions and 9 deletions

13
check_driver_phones.php Normal file
View File

@@ -0,0 +1,13 @@
<?php
require_once 'connect.php';
try {
$stmt = $con->query("SELECT phone FROM driver LIMIT 10");
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
foreach ($rows as $row) {
echo "Raw: " . $row['phone'] . " | Decrypted: " . $encryptionHelper->decryptData($row['phone']) . "\n";
}
} catch (Exception $e) {
echo $e->getMessage();
}
?>