Adding PECL Uploadprogress to 1&1 shared hosting for Drupal 7 (updated)

Drupal 7.x is the platform we use to build great websites. There are modules that allow the ability to update a progress meter when uploading a file. This requires installing a PECL extension to PHP called uploadprogress. Here is the process I used to get it working on a 1and1.com hosting package. You will need … Read more

Drush on 1and1 Shared Hosting php cgi

I’ve had to search for setting this up so many times I figure I should write my own howto on setting up drush on 1and1 hosting packages. Because 1and1 only has php-cgi and not php-cli we will have to force the drush.php file to behave differently. NOTE: This only works on 1and1 packages with ssh. … Read more

Tips on adding PECL uploadprogress to your PHP scripts

I’ve been working on adding PECL Uploadprogress support to the drupal viddler module to give the user a better indication of how long the upload process will take. In this process I ran into a few gotchas that I thought I would pass along. Make sure to have the UPLOAD_IDENTIFIER hidden element before your file … Read more

Adding pdftk to 1and1 shared hosting

UPDATE 2010-09-03: I updated a couple links to reflect newer downloads. Because 1and1 shared hosting is on an older debian (etch) system I had to tweak the steps for using lenny based packages. ENJOY! There are some cases where you might need a powerful pdf toolkit to use with php. 1and1 does not come with … Read more

Adding PECL Uploadprogress to 1&1 shared hosting for Drupal FileField

Drupal 6.x is the platform we use to build great websites. There are modules FileField and ImageField 3.0 that allow the ability to update a progress meter when uploading a file. This requires installing a PECL extension to PHP called uploadprogress. Here is the process I used to get it working on a 1and1.com hosting … Read more

Life is good

I love my macbook pro. I’m posting form BlogMate within TextMate and it’s pretty slick. Listening to Bethany Live in iTunes and talking to Phil in Adium. Programming for Maryland Online an dall in all having a good time. Life is good.

Proper Environment for the Web Development

Great post on slashdot about setting up a proper environment web developing. I’m posting a good one here for future reference. Enjoy.

Actual article here.
Actual comment here.

This is Unix/OSX-centric, and I’ve been doing this for years and showing others the way:

* My code always has a standard layout (bin, conf, src, lib, and so on). No exceptions, because you never know when that little script will become a big app (this happens to me at least once a year).

* Use good coding practices: unit tests, continuous integration, whatever

* The code is checked into CVS/Subversion/Darcs, whatever. Use branches and so forth intelligently (dev on the trunk, release branches which are bugfix only, whatever). Make it “obvious” where the latest stable code always lives, so that someone besides yourself can deploy it.

Read more

Gallery2 Watermarks on all Images

After much searching and Database queries I found a forum post that explains how to add a url rewrite rule to make all images on a gallery2 site have a watermark. I’m sure also with some massaging it can be applied to different albums, but all I need is all or nothing.

Read more

The PNG problem in Windows Internet Explorer

This is by far the quickest and easiest technique for getting png files to work in IE that I have found. Check it out here: The PNG problem in Windows Internet Explorer