File manager - Edit - /home/autoph/public_html/api/aha/termsOfUse.php
Back
<?php include '../../../cfg/ahaconn.php'; $mykey = $_GET['keyID']; if($mykey =="6e59e008b5348b452b615a3033729daae383tos"){ $sql = "SELECT * FROM aha_privacy_policy WHERE `deleted` = 0 ORDER BY dp_no ASC"; $result = $conn->query($sql); if ($result->num_rows > 0) { // Array to hold the results $rows = array(); while($row = $result->fetch_assoc()) { $servID = $row['service_status_id']; $rows[] = $row; } header('Content-Type: application/json'); echo json_encode($rows); } } // Close connection $conn->close(); ?>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings