0;$x--) { $counter = "" . substr($num, $x-1, 1) . "" . $counter; } return $counter; } function getIPAddress() { $filename = "/etc/ddclient/ddclient.cache"; $handle = fopen($filename, "rt"); $file = fread($handle, filesize($filename)); $startpos = strpos($file, "ip=") + 3; $endpos = strpos($file, ",", $startpos); $ip = substr($file, $startpos, ($endpos-$startpos)); return $ip; } function drawImage($height, $width, $fontface, $fontsize, $text) { putenv('GDFONTPATH=/usr/share/fonts/;/usr/share/fonts/corefonts/;.;..'); $image = imageCreate($width, $height); $colorFG = imageColorAllocate($image, 255, 255, 255); $colorBG = imageColorAllocate($image, 0, 0, 0); imageFilledRectangle($image, 0, 0, $width-1, $height-1, $colorBG); imageTTFText($image, $fontsize, 0, 0, $height-2, $colorFG, $fontface, $text); imageColorTransparent($image, $colorBG); return $image; } function randLetter() { return chr( ord("A") + rand(0, 25) ); } function randNumber() { return chr( ord("0") + rand(0, 9) ); } # Global variable section: $emailaddr = '<9169526368@mms.att.net>,'; ?> Daniel's Photography

Welcome

Welcome to my little abode. I've decided to share my portfolio for all to see.
Please let me know what you think, and don't forget to sign my guestbook.

Latest News

There is no news.
There is no news.