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
/
rotate_image.php
/
/
<?php if ($f == 'rotate_image') { $data = array( "status" => 400 ); if (isset($_GET['image']) && isset($_GET['angle'])) { Wo_RunInBackground(); $degrees = Wo_Secure($_GET['angle']); $id = Wo_Secure($_GET['image']); $wo_story = Wo_PostData($id); $image = Wo_GetMedia($wo_story['postFile']); $fileType = strtolower(substr($image, strrpos($image, '.') + 1)); if ($wo['user']['user_id'] == $wo_story['publisher']['user_id']) { $put_file = file_put_contents($wo_story['postFile'], file_get_contents($image)); if ($put_file) { if ($fileType == 'png') { header('Content-type: image/png'); $source = imagecreatefrompng($wo_story['postFile']); $bgColor = imagecolorallocatealpha($source, 255, 255, 255, 127); $rotate = imagerotate($source, $degrees, $bgColor); imagesavealpha($rotate, true); imagepng($rotate, $wo_story['postFile']); } if ($fileType == 'jpg' || $fileType == 'jpeg') { header('Content-type: image/jpeg'); $source = imagecreatefromjpeg($wo_story['postFile']); $rotate = imagerotate($source, $degrees, 0); imagejpeg($rotate, $wo_story['postFile']); } imagedestroy($source); imagedestroy($rotate); Wo_UploadToS3($wo_story['postFile']); $update = $db->where('id', $id)->update(T_POSTS, array( 'cache' => time() )); $data = array( "status" => 200 ); } } } header("Content-type: application/json"); echo json_encode($data); exit(); }
/home/users/unlimited/www/facebook.codeskitter.site/xhr/rotate_image.php