403Webshell
Server IP : 199.79.63.27  /  Your IP : 216.73.216.250
Web Server : Microsoft-IIS/10.0
System : Windows NT MD-PLESK-WEB5 10.0 build 20348 (Windows Server 2022) AMD64
User : IWPD_6698(lcitec7i) ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  D:/INETPUB/VHOSTS/lcit.edu.in/lcitps.edu.in/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : D:/INETPUB/VHOSTS/lcit.edu.in/lcitps.edu.in/counter.php
<?php
include 'db.php';

$conn = new mysqli($host, $user, $pass, $db);

// Create table if not exists
$conn->query("CREATE TABLE IF NOT EXISTS visits (id INT PRIMARY KEY, count INT)");
$conn->query("INSERT IGNORE INTO visits (id, count) VALUES (1, 0)");

// Increment counter
$conn->query("UPDATE visits SET count = count + 1 WHERE id = 1");

// Get current count
$result = $conn->query("SELECT count FROM visits WHERE id = 1");
$row = $result->fetch_assoc();

echo "Website Visits: " . $row['count'];

$conn->close();
?>

Youez - 2016 - github.com/yon3zu
LinuXploit