Monat: Februar 2015

  • 50 Shades of Grey

    [:de] Naja, jeder redet doch darüber, oder? 🙂 [php] header("Content-type: image/png"); $head = "50 Shades of Grey"; $im = imagecreate(500,280); $background_color = imagecolorallocate($im, 0, 0, 0); $orange = imagecolorallocate($im, 220, 210, 60); $px = (imagesx($im) – 7.5 * strlen($head)) / 2; imagestring($im, 3, $px, 9, $head, $orange); $colc = 5; for ($i = 0; $i…