PLEASE NOTE: I have posted an update for CentOS5.4 and GhostScript 8.70! Today I needed a newer version of ghostscript on my server pool for some back-end processing we do. Updating ghostscript for RHEL5 / CentOS 5.2 turned out to be a pain! I was nearly stucked into RPM hell! **** Warning: An error occurred [...]
Archive for the ‘Web Development’ Category
I updated the Browser.php class today to detect Google’s Chrome Browser. Additionally, thanks to an idea from Daniel ‘mavrick’ Lang, I added isBrowser($browserName) as a function to version 1.1. Visit the Browser.php class page today to grab the update! Interested in a PHP4 version? Daniel is maintaining a version for PHP4. Example Usage: 1 2 [...]
For a recent project I needed to perform document translations from DOC to PNG which requires an essential intermediate step to PDF. The transformations required us to go to from DOC to PDF which can easily be done very nicely using openoffice 2.3 in a headless configuration. The downside is you need a process running [...]
Today I ran across a unique need to remove images from a WordPress post in a specific post loop. Because there is no way to do a “read more” excerpt while taking strict control of the raw content from the_content() I was limited to capturing and manipulating the content from PHP’s output buffer. My solution: [...]
A few people have contacted in the past about what I did to get IDs to work on Peter’s Script over at vulgarisoips.com (see the original post here). Peter’s script works great; but for my needs I had to add an ID to the suggestion as a way to relate the selected value back to [...]
Today I had a new server running CentOS5 have trouble with a known good authorize.net library using curl. It was producing the following error: error setting certificate verify locations: CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none After some research I found it was based on the inability for the apache user to access the ca-bundle.crt file. You will [...]
Here is a follow up to the cellpadding and cellspacing post I made a while back. The cellpadding and cellspacing can be completely controlled in CSS. I realized today; I spoke only about collapsing the borders and not creating spacing (or the equivalent of cellspacing equal to something other than 0). Here are some HTML4 [...]
Those of us who learned HTML early in the game are familiar with HTML table parameters cellpadding and cellspacing. In a positive way they were deprecated in HTML4 so you must use CSS to control the padding and spacing now. Here is how you do it in CSS: border-collapse: collapse; A nice line to place [...]
I never can find this information when I need it so I am writing it down: Here are the common web banner sizes: Banner – 468px X 60px Leaderboard – 728px X 90px Skyscraper – 120px X 600px Wide Skyscraper – 160px X 600px Large Rectangle – 336px X 280px Rectangle – 300px X 250px [...]
Lorem Ipsum – http://www.lipsum.com/ Color Schemer Online – http://www.colorschemer.com/online/