Server IP : 2a02:4780:11:1359:0:1d43:a566:2 / Your IP : 216.73.216.199 Web Server : LiteSpeed System : Linux in-mum-web1259.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64 User : u490972518 ( 490972518) PHP Version : 5.6.40 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF Directory (0755) : /home/u490972518/domains/ppschool.org.in/public_html/b/../sale/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php //session_start(); include('php-includes/connect.php'); include('php-includes/check-login.php'); $userid = $_SESSION['userid']; $name=$_POST['name']; $fname=$_POST['fname']; $address=$_POST['address']; $location=$_POST['location']; $nominee=$_POST['nominee']; $nomineerel=$_POST['nomineerel']; $account=$_POST['account']; $mobile=$_POST['mobile']; $bank=$_POST['bank']; $ifsc=$_POST['ifsc']; $fname=$_POST['fname']; $adhar=$_POST['adhar']; //$npass=$_POST['npass']; //$otp=$_POST['otp']; $user=$_POST['user']; $date=date("Y-m-d"); date_default_timezone_set("asia/kolkata"); $time=date("h:i:sa"); $sel="select * from useid where userid='$user'"; $res=mysqli_query($conn,$sel); $count=mysqli_num_rows($res); if($count>0) { echo '<script>alert("Not Update !Please Contact Admin. Allready You Use 1 Chance of Update ");window.location.assign("bank.php");</script>'; } else { $up="update user set name='$name',father='$fname',address='$address',account='$account',bank='$bank',nomini='$nominee',ifc='$ifsc',mobile='$mobile',nrelation='$nomineerel',location='$location',adhar='$adhar' where email='$user'"; $res1=mysqli_query($con,$up); if($res1) { $ins1="insert into useid(userid,status,date) values('$user','Yes','$date')"; $res11=mysqli_query($con,$ins1); echo '<script>alert("Update .");window.location.assign("bank.php");</script>'; } else { echo '<script>alert("Not update.");window.location.assign("bank.php");</script>'; } } ?>