~rjmprogr/public_html/PHP/wpage.txt 2> ~rjmprogr/public_html/preq.preq '); //file_put_contents('/home/rjmprogr/public_html/PHP/wpage.txt', file_get_contents('http://www.rjmprogramming.com.au/ITblog/')); //exec('cat /home/rjmprogr/public_html/PHP/wpage.txt > /home/rjmprogr/public_html/prex.prex 2> /home/rjmprogr/public_html/prew.prew '); //exec('curl http://www.rjmprogramming.com.au/ITblog/ > ~rjmprogr/public_html/PHP/wpage.txt ; chown rjmprogr ~rjmprogr/public_html/PHP/wpage.txt ; chgrp rjmprogr ~rjmprogr/public_html/PHP/wpage.txt '); exec('cat /home/rjmprogr/public_html/PHP/wpage.txt > /tmp/prex.prex 2> /tmp/prew.prew '); exec('cd /home/rjmprogr/public_html/PHP; php ./recent-posts-2.php '); exec('cd /home/rjmprogr/public_html/PHP; php ./tutorial_options.php 2> /tmp/tutorial_options.bad '); //exec('curl http://www.rjmprogramming.com.au/ITblog/ > ~rjmprogr/public_html/PHP/wpage.txt ; chown rjmprogr ~rjmprogr/public_html/PHP/wpage.txt ; chgrp rjmprogr ~rjmprogr/public_html/PHP/wpage.txt '); //exec('cd /home/rjmprogr/public_html/PHP; php ./recent-posts-2.php '); //exec('curl http://www.rjmprogramming.com.au/PHP/tutorial_options.php?mobile=mobile 2> /home/rjmprogr/public_html/PHP/tutorial_options.bad'); file_put_contents('prez.prez','y'); } if (isset($_GET['left']) && isset($_GET['top']) && isset($_GET['width']) && isset($_GET['height'])) { $uw=""; $postuw=""; $uw1=""; $postuw1=""; $uw2=""; $postuw2=""; $uw3=""; $postuw3=""; if (isset($_GET['widthleft']) && isset($_GET['widthmiddle']) && isset($_GET['widthright']) && isset($_GET['heighttop']) && isset($_GET['heightmiddle']) && isset($_GET['heightbottom'])) { $uw=" usemap=#workmap"; $uw1=" usemap=#workmap1"; $uw2=" usemap=#workmap2"; $uw3=" usemap=#workmap3"; $postuw=""; $postuw1=""; $postuw2=""; $postuw3=""; $postuw.="LeftTop"; $postuw.="CenterTop"; $postuw.="RightTop"; $postuw1.="LeftMiddle"; $postuw2.="RightMiddle"; $postuw3.="LeftBottom"; $postuw3.="CenterBottom"; $postuw3.="RightBottom"; $postuw.=""; $postuw1.=""; $postuw2.=""; $postuw3.=""; } // Create a transparent image thanks to https://www.php.net/manual/en/function.imagecolortransparent.php $im = imagecreatetruecolor($_GET['width'], $_GET['height']); $red = imagecolorallocate($im, 255, 0, 0); $black = imagecolorallocate($im, 0, 0, 0); // Make the background transparent imagecolortransparent($im, $black); // Save the image $udirnameprebimg='/tmp/imagecolortransparent.png'; imagepng($im, $udirnameprebimg); $duis='data:image/' . str_replace('jpg','jpeg',strtolower(explode('.',$udirnameprebimg)[-1 + sizeof(explode('.',$udirnameprebimg))])) . ';base64,' . base64_encode(file_get_contents($udirnameprebimg)); imagedestroy($im); unlink($udirnameprebimg); echo " " . $postuw . "" . $postuw1 . "" . $postuw2 . "" . $postuw3 . "'; \"> "; if (isset($_GET['publish'])) { file_put_contents('pres.pres','y'); //exec('curl --cacert /etc/ssl/certs/ca-bundle.crt https://www.rjmprogramming.com.au/ITblog/index.php > ~rjmprogr/public_html/PHP/wpage.txt 2> ~rjmprogr/public_html/preq.preq '); file_put_contents('/home/rjmprogr/public_html/PHP/wpage.txt', file_get_contents('http://www.rjmprogramming.com.au/ITblog/')); exec('cat /home/rjmprogr/public_html/PHP/wpage.txt > /home/rjmprogr/public_html/prex.prex 2> /home/rjmprogr/public_html/prew.prew '); exec('curl http://www.rjmprogramming.com.au/ITblog/ > ~rjmprogr/public_html/PHP/wpage.txt ; chown rjmprogr ~rjmprogr/public_html/PHP/wpage.txt ; chgrp rjmprogr ~rjmprogr/public_html/PHP/wpage.txt '); exec('curl http://www.rjmprogramming.com.au/PHP/recent-posts-2.php '); exec('curl http://www.rjmprogramming.com.au/PHP/tutorial_options.php 2> /home/rjmprogr/public_html/PHP/tutorial_options.bad '); exec('curl http://www.rjmprogramming.com.au/ITblog/ > ~rjmprogr/public_html/PHP/wpage.txt ; chown rjmprogr ~rjmprogr/public_html/PHP/wpage.txt ; chgrp rjmprogr ~rjmprogr/public_html/PHP/wpage.txt '); exec('curl http://www.rjmprogramming.com.au/PHP/recent-posts-2.php '); exec('curl http://www.rjmprogramming.com.au/PHP/tutorial_options.php?mobile=mobile 2> /home/rjmprogr/public_html/PHP/tutorial_options.bad'); file_put_contents('prez.prez','y'); } exit; } ?> RJM Programming - Software Need Not Be Hard!

RJM Programming

Software Need Not Be Hard!

Our Information Technology Blog

It's mainly software, but all matters I.T. that get our interest running an Apache/PHP/MySql Linux web server website.

Read On

   We love programming!

Software Need Not Be Hard!