Pedobears gone wild!

January 30, 2010

I was out with the wife shopping for baby shower gifts. When I came across what has to be the most innapropriate thing I’ve ever seen. The guy that made this has to know what he’s doing. There’s no way he can’t. I’m surprised one of the bears isn’t on her back walking like you know who.

Something is terribly wrong here.

Something is terribly wrong here.

PDF, Content-Disposition, inline and filename

January 22, 2010

Here’s an odd quirk I came across when trying to save PDFs displayed inline in the browser. It seems that you cannot specify the filename using the Content-Disposition header inline¬†with the Adobe PDF broswer plugin. It completely ignores it and uses what’s after the last slash in the URL. So if your url is like this http://www.mysite.com/makepdffile.php the filename of the PDF would be makepdffile.php when you clicked on save. Fortunately I have found a solution.

Read more

PDFLib: Inserting a Google Map into a PDF with Geolocation

January 14, 2010

I thought this was an interesting enough to share with everyone. I’m working on a project that involves using PDFLIb to create PDF documents. And one of the requirements was to insert a Google Map image with a marker where a property is located. Here’s how we do that.

Read more