uawdijnntqw1x1x1
IP : 216.73.216.93
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
facebook.codeskitter.site
/
xhr
/
update-blog.php
/
/
<?php if ($f == "update-blog") { if (Wo_CheckSession($hash_id) === true) { if (empty($_POST['blog_title']) || empty($_POST['blog_content']) || empty($_POST['blog_description'])) { $error = $error_icon . $wo['lang']['please_check_details']; } else { if (strlen($_POST['blog_title']) < 10) { $error = $error_icon . $wo['lang']['title_more_than10']; } if (strlen($_POST['blog_description']) < 32) { $error = $error_icon . $wo['lang']['desc_more_than32']; } if (empty($_POST['blog_tags'])) { $error = $error_icon . $wo['lang']['please_fill_tags']; } if (!in_array($_POST['blog_category'], array_keys($wo['blog_categories']))) { $error = $error_icon . $wo['lang']['error_found']; } } if (empty($error)) { $_POST['blog_tags'] = preg_replace('/on[^<>=]+=[^<>]*/m', '', $_POST['blog_tags']); $_POST['blog_tags'] = strip_tags($_POST['blog_tags']); $_POST['blog_content'] = preg_replace($wo['regx_attr'], '', $_POST['blog_content']); $registration_data = array( 'user' => $wo['user']['id'], 'title' => $_POST['blog_title'], 'content' => $_POST['blog_content'], 'description' => $_POST['blog_description'], 'category' => $_POST['blog_category'], 'tags' => $_POST['blog_tags'] ); if (Wo_UpdateBlog($_GET['blog_id'], $registration_data)) { if (isset($_FILES["thumbnail"])) { $fileInfo = array( 'file' => $_FILES["thumbnail"]["tmp_name"], 'name' => $_FILES['thumbnail']['name'], 'size' => $_FILES["thumbnail"]["size"], 'type' => $_FILES["thumbnail"]["type"], 'types' => 'jpeg,jpg,png,bmp,gif', 'crop' => array( 'width' => 1200, 'height' => 600 ) ); $media = Wo_ShareFile($fileInfo); $mediaFilename = $media['filename']; $image = array(); $image['user'] = $wo['user']['user_id']; $image['thumbnail'] = $mediaFilename; Wo_UpdateBlog($_GET['blog_id'], $image); } $data = array( 'message' => $success_icon . $wo['lang']['article_updated'], 'status' => 200, 'url' => Wo_SeoLink('index.php?link1=read-blog&id=' . $_GET['blog_id']) ); } } else { $data = array( 'status' => 500, 'message' => $error ); } } header("Content-type: application/json"); echo json_encode($data); exit(); }
/home/users/unlimited/www/facebook.codeskitter.site/xhr/update-blog.php