Files
Siro/backend/Admin/debug/check_driver_phones.php
2026-06-16 17:47:19 +03:00

14 lines
359 B
PHP

<?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 "An error occurred.";
}
?>