Oops! Something went sideways.

Looks like the styling got goofed up. Sorry about that, unless it's what you wanted. If this isn't what you were looking for, try force refreshing your page. You can do that by pressing Shift + F5, or holding Shift and clicking on the "reload" icon. (It's the weird circle arrow thing "⟳" just above this page, usually next to where it says https://blog.unitedheroes.net...)

isn't quite ashamed enough to present

jr conlin's ink stained banana

:: No, It’s MY Space

A few quick programming notes (as in code, not TV):

  • PHP’s GD library has some rather annoying quirks, including:
    1. imagecreatefrompng() doesn’t understand Alpha transparencies, it instead just uses a black background.
    2. imagecreatetruecolor() does understand alpha channels, but uses a black background
    3. regardless of whatever tricks you try to pull, copying an alpha png to a truecolor image background will not cause an proper merge because the freaking png is on a black background!
  • If you want to stamp any and all images being leeched from your site with a sponsor tag, it’s pretty easy to do. First add to your .htaccess file:
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} myspace.com
    RewriteRule (.*(gif|png|jgp)$) /stamp.php?i=$1

    then, create your stamp.php file.
    Feel free to modify that file to append an “image footer” if you like.
  • Yeah, those myspace folks tend to grab images, but hey, think of them as “ads for you“.

Blogs of note
personal Christopher Conlin USMC memoirs of hydrogen guy rhapsodic.org Henriette's Herbal Blog
geek ultramookie

Powered by WordPress
Hosted on Dreamhost.