16d15 < $atendis = ''; 39c38 < global $okay, $atendis; --- > global $okay; 53,57d51 < if ($atendis != "") { < echo $atendis; < $atendis=''; < exit; < } 87c81 < global $idata, $bigbits, $atendis; --- > global $idata, $bigbits; 179,193c173 < if ($idata != "") { < $contents = $idata; < if (strpos('~' . $mybody, '~http') === false && strpos($mybody, '/') === false) { < if (file_exists($mybody)) unlink($mybody); < $mybody='http://www.rjmprogramming.com.au/HTMLCSS/' . $mybody; < } < } else if (strpos('~' . $mybody, '~http') === false && strpos($mybody, '/') === false) { < if (file_exists($mybody)) { < $mybodys='http://www.rjmprogramming.com.au/HTMLCSS/' . $mybody; < $contents=@file_get_contents($mybody); < unlink($mybody); < $mybody=$mybodys; < $idata = $contents; < } < } --- > if ($idata != "") $contents = $idata; 342c322 < if ($contents == '') { // on fail --- > if ($contents == '') { 344c324 < //file_put_contents("aaa.aaa", "fail"); --- > //file_put_contents("aaa.aaa", ""); 384c364 < $idata = base64_decode(explode("&from=",$mydurl)[0]); --- > $idata = base64_decode($mydurl); 403c383 < $idata = base64_decode(explode("&from=",$mydurl)[0]); --- > $idata = base64_decode($mydurl); 417,421c397 < $idata = base64_decode(explode("&from=",$mydurl)[0]); < //file_put_contents(urldecode($_POST['myfname']), explode("&from=",$mydurl)[0]); < if (isset($_GET['showimage']) || isset($_POST['showimage'])) { < $atendis="'; \">"; < } --- > $idata = base64_decode($mydurl); 423,427c399 < $idata = base64_decode(explode("&from=",urldecode($_POST['mydurl']))[0]); < //file_put_contents(urldecode($_POST['myfname']), explode("&from=",($_POST['mydurl']))[0]); < if (isset($_GET['showimage']) || isset($_POST['showimage'])) { < $atendis="'; \">"; < } --- > $idata = base64_decode(urldecode($_POST['mydurl'])); 429,430c401 < // //file_put_contents($_POST['myfname'], $idata); < //file_put_contents(urldecode($_POST['myfname']), $idata); --- > //file_put_contents($_POST['myfname'], $idata); 444c415 < $idata = base64_decode(explode("&from=",$mydurl)[0]); --- > $idata = base64_decode($mydurl); 446c417 < $idata = base64_decode(explode("&from=",urldecode($_POST['mydurl']))[0]); --- > $idata = base64_decode(urldecode($_POST['mydurl'])); 458c429 < $idata = base64_decode(explode("&from=",$mydurl)[0]); --- > $idata = base64_decode($mydurl); 460c431 < $idata = base64_decode(explode("&from=",urldecode($_POST['mydurl']))[0]); --- > $idata = base64_decode(urldecode($_POST['mydurl']));