Buster July, 1996 – March 18, 1997

Our good kitty, Buster, died peacefully yesterday morning. We will miss him!

Click the photo to see a larger image.

Buster sleeping Buster boy

Somewhere in a past life, Buster was royalty, and he entered this life believing he was still a king. He ruled our house, was the most dignified cat we ever had, and fully expected to be waited on hand and foot.

Buster provided much amusement among the girls’ friends, as he was unpredictable with who he would like, who he would not like, and at what point in time he’d stop liking someone he was liking at the previous moment. All I can say for that is, good thing he was declawed! He has been known to throw punches to faces, tops of heads, dogs, and legs. But when he liked you, he was the best lap cat ever.

Good-bye Buster-boy.

PHP mail() headers for HTML email and commas

Here are headers for emailing through PHP’s mail() function:

$headers = “MIME-Version: 1.0rn”;
$headers .= “Content-type: text/html; charset=iso-8859-1rn”;
$headers .= ‘From: My Website <email@mywebsite.com>’;
if ($_POST[‘cc_sender’]) $headers.= “rnCC:”.$_POST[‘Email’].””;

I use this for all websites that I build, and I distribute my code for free as well. Formal information about this can be found at http://www.php.net/function.mail as well.

So I was pretty surprised when a standard contact form of mine came to me while testing with this as the “from”: ABC@osd2.myhostcenter.com. Why? Everything was set up properly. I contacted my host, and they insisted that I wasn’t entering “RFC compliant” headers. Their suggestion was to enter the from headers as ONLY an email.

Well, turns out, that’s not what I had to do. I had entered the company’s name with a comma, as in ABC, LLC. I removed the comma, and now the email works fine.

Here’s what the standards say:

3.6.2. Originator fields

   ...The from field consists of the field name "From" and a
   comma-separated list of one or more mailbox specifications...

I’m not sure what my comma was telling it to do, but now I know that commas are not allowed. I will be updating my PHP script to include this new information.

rounded corners and google ads

I don’t mind the advertising on Google, but this is a bit ridiculous. A few weeks ago, a coworker of mine showed me an article on “rounded corners” that was done in css. Over the weekend, a fellow developer asked me about “rounded corners” and I thought I’d share the site with him. However, I couldn’t find that one (all I found was bookmark for another site which is pretty good, too). I figured the article link was at work, and when I back on Tuesday, I’d get it.

Well, back at work, and the article isn’t anywhere to be found. So I googled “rounded corners” and what comes up in an ad??

Round Corners For Less
Looking for Round Corners?
Find exactly what you want today.
www.eBay.com

And for those of you interested, the other article is here.