Photos: Day #3

8.29.2009: Peter and Bethany clean up the NYC fallout shelters.

PHP: Dancing with the cURL

HTTP Authentication with cURL in the event I’m overdrawn at the memory bank. $ch = curl_init(); $url = “http://myurl.com/plah.php?foo=value”; curl_setopt($ch, CURLOPT_URL, $url); curl_setopt…

Photos: Day #2

8.28.09: Rainy day Manhattan. These will one day not be of buildings.

Photos: Day #1

8.27.09: Neglect. I’m going to attempt to make a visual catalog of daily experiences after having been inspired by my good friend, Nataline.

PHP: Locator script

When asked to write a store location program in less than an hour, I developed this little utility. It uses my own MySQL…

KC2VOD

I’m not transmitting as of yet, but it won’t be long now. http://www.genesisradio.com.au/G40/

PHP: TrueType bounding box with GD

Just a snippet to print out the values in a bounding box. print_r’s simple outline format just makes it easier to visualize. <?php…

PHP: transparent PNG over JPEG

<?php header(“Content-type: image/jpeg”); $im = imagecreatetruecolor(800,600); // main image output $im2 = imagecreatefromjpeg(‘image1.jpg’); $im3 = imagecreatefrompng(‘../images/template3.png’); imagecopymerge($im,$im2,360,186,0,0,800,600,100); imagecopy($im,$im3,0,0,0,0,800,600); imagejpeg($im); imagedestroy($im); imagedestroy($im2); imagedestroy($im3); ?>