JPEG file, downloaded 5 hours ago , here is the code on qa-md-upload.php:
<?php
/* MADE BY BRUNO @ Orienting.us or Korion.net SEXY */
require_once '../../qa-include/qa-base.php';
require_once QA_INCLUDE_DIR.'qa-app-blobs.php';
$p = $_POST;
$allowedTypes = array(IMAGETYPE_PNG, IMAGETYPE_JPEG, IMAGETYPE_GIF);
foreach($_FILES as $f) {
$detectedType = exif_imagetype($f['tmp_name']);
if(in_array($detectedType, $allowedTypes)){
$pi = pathinfo($f['name']);
$name = $f['tmp_name'];
$ext = $pi['extension'];
//move_uploaded_file($f['tmp_name'], '');
if ($id = qa_create_blob(file_get_contents($name), $ext)) echo qa_get_blob_url($id,true);
else echo "error";
}
}
?>