✏️ 正在编辑: updateIpAddr.php
路径:
/home/llpreacharge/public_html/user/updateIpAddr.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php session_start(); if($_SESSION['rid']) { $userid= $_SESSION['rid']; } else { header('location:../login.php'); } ?> <?php include'connection.php'; $ip = $_GET['ip']; $updateIp = "update retailer set IpAddr='$ip' where Userid='$userid'"; if(mysqli_query($con,$updateIp)) { echo "IP Address Updated Successfully !"; } ?>
💾 保存文件
← 返回文件管理器