6Nov/100

Cannot load mcrypt extension. Please check your PHP configuration.

Here is a quick little tip on how to remove the "Cannot load mcrypt extension. Please check your PHP configuration." message from your phpMyAdmin login window on a Fedora 8 Linux Dedicated or maybe even virtual dedicated server at Godaddy.

1. Open a ssh session. Switch to root.

2. Run each line individually (or copy each one and right click on the ssh window (putty)).

yum install libmcrypt
yum install php-mcrypt
yum install php-mhash

I didn't have to restart http but you might want to for grins.

A big nod to wayan on this one, and PS, don't search for GoDaddy images on Google while at work :)

27Feb/100

How to convert a website favicon.ico into an image

Few google searches bing back, oops, bring back amazing finds like this. However before reading on know that Google Share Stuff has been Discontinued since last March in favor of Google Reader's sharing bookmarklet. I'm not sure what that means to the favicon service defined below which clearly still works. You've been warned, meaning you can't expect it to work indefinably </captain obvious>

Google Shared Stuff (S2) offers a secret URL that can automatically pull favicon images of any website provided you know the URL. The images are in the PNG format (not ICO) and hence will render correctly in all browsers via the tag. - labnol.org

All you have to do is append a url to the following line and get the current favicon.ico of any website.

http://www.google.com/s2/favicons?domain=www.yancylent.com -> yancylent.com

I can't even tell you the trouble I went through a couple years ago writing a PHP routine that saved the files down to a folder, changed the name, added that name to a database, only to find out that IE Explorer didn't support .ico's like other browers do. This is a fine alternative, thanks google.

2Oct/090

Google Sidewiki

Google Sidewiki seems like a nice way to post graffiti like comments on Planet Lotus throughout the day. I've gone ahead and posted a note to get things started. If you're new to sidewiki here is the first article I found on it while looking up the date it was launched; Sept 23rd.

http://www.google.com/sidewiki/

Not sure how I stumbled across this tonight but its odd. All week I've been wanting to do something similar to PL after figuring out how to use Twitter OAuth for TwunLog.com, it would be nice to have an ajax like way to post small comments about posts on the PL main page.

So I'm curious, is anyone else using sidewiki?