One Hat Cyber Team
Your IP :
216.73.216.84
Server IP :
50.6.229.107
Server :
Linux server.hostburly.com 5.14.0-611.38.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 10 17:21:28 EDT 2026 x86_64
Server Software :
Apache
PHP Version :
8.2.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
andjemzt
/
nportal.andjemztech.com
/
examAdmin
/
View File Name :
insert_profile.php
<?php include_once("auth.inc.php"); include_once("config.php"); session_unregister(admission_no); ?> <? require ("function_randomletter.php"); $dob= "$year-$month-$day"; $myrand = randomString(12); $std_custome4 = "$myrand"; $surname = addslashes($surname); $firstname = addslashes($firstname); $othernames = addslashes($othernames); $place_of_birth = addslashes($place_of_birth); $home_town = addslashes($home_town); $local_gov = addslashes($local_gov); $state_of_origin = addslashes($state_of_origin); $nationality = addslashes($nationality); $contact_address = addslashes($contact_address); $student_email = addslashes($student_email); $parents_name = addslashes($parents_name); $student_homeaddress = addslashes($student_homeaddress); $next_of_kin = addslashes($next_of_kin); $nok_address = addslashes($nok_address); $birthdate = "$date_year-$date_month-$date_day"; $insert="INSERT INTO students_profile (std_id, matric_no, surname, firstname, othernames, gender, marital_status, birthdate, place_of_birth, home_town, local_gov, state_of_origin, nationality, contact_address, student_email, parents_name, student_homeaddress, student_mobiletel, student_landtel, next_of_kin, nok_address, nok_tel, stdprogramme_id, stdfaculty_id, stddepartment_id, std_custome1, std_custome2, std_custome3, std_custome4, std_custome5, std_custome6, std_custome7, std_custome8) VALUES ('$std_id', '$matric_no', '$surname', '$firstname', '$othernames', '$gender', '$marital_status', '$birthdate', '$place_of_birth', '$home_town', '$local_gov', '$state_of_origin', '$nationality', '$contact_address', '$student_email', '$parents_name', '$student_homeaddress', '$student_mobiletel', '$student_landtel', '$next_of_kin', '$nok_address', '$nok_tel', '$programme_id', '$faculty_id', '$department_id', '$std_custome1', '$std_custome2', '$std_custome3', '$std_custome4', '$std_custome5', '$std_custome6', '$std_custome7', '$std_custome8')"; $results = mysql_query($insert) or die(mysql_error()); $thisid= mysql_insert_id(); if ($image) { require ("uploader.php"); } $std_fullname = trim("$surname $firstname $othernames"); if ($results) { $update2="UPDATE login SET log_status2='1' WHERE log_email='$mylog_email'"; $results2 = mysql_query($update2); header("Refresh: 1; URL=my_profile.php?w_update=$std_fullname has been added"); exit; } else { header("Refresh: 1; URL=add_profile.php?w_update=$std_fullname was not successfully added"); exit; } ?>