Archive for March, 2006

AJAX PHP-CLASS based Speedy Password Generator

Wednesday, March 29th, 2006

The following link shows a password generator I built that, like the title says, is driven by AJAX (meaning; you just type in the length you would like the password and it creates it with-out any wait-time). The passwords are generated by a specially made PHP Class I built that generates passwords 4x faster than most password generators. The max length is set to 64 characters. That should be enough. Might add some more functionality later. But keeping it simple is important.

Click here for the password generator

Dynamic to Static URL. Making URLs SEF to improve SEO.

Sunday, March 26th, 2006

SEF – Search Engine Friendly
SEO – Search Engine Optimization
Search engines create their databases from running programs that search the web and scan each web-page, and sometimes, they cache the web-page (Cache — meaning they download a copy of it). They sort these pages out, assumingly, by URL (that http://www.whatever.com string in the Address bar).

URLs that are dynamic, meaning they are using GET variables. Example:
http://mullerdigital.com/examples/dynamic_to_static_url/?name=Bob&location=Havana

The above example isn’t that bad in terms of what a search engine can handle. But is a bit confusing to Search Engine’s. They see a difference between the above URL and the following URL:
http://mullerdigital.com/examples/dynamic_to_static_url/?location=Havana&name=Bob
But there isn’t. The URL is different, but it’s the same page. But a search engine would classify those as two different pages. This is a very basic reason of what faults dynamic URLs have with search engines. Therea are a lot of other reasons, but they are far too complicated to get into.

The part that truly makes the URL above dynamic, is we can set the values of the URL and it effects the page itself.
http://mullerdigital.com/examples/dynamic_to_static_url/?location=London&name=Jen
Those values, location and name, can be any value, and they’ll be written in the correct location on the page.

That’s why there is the method of making the above dynamic-link a static link, but still just as dynamic (confusing, but it’ll make sense in a second).
http://mullerdigital.com/examples/dynamic_to_static_url/Havana/Bob.htm
Now, there is no directory ‘Havana’ and there is no file ‘Bob.htm’… This is all dynamic. The directory ‘Havana’ can be any value, and the page ‘Bob.htm’, can be any value too.
http://mullerdigital.com/examples/dynamic_to_static_url/Glasgow/Laura.htm or
http://mullerdigital.com/examples/dynamic_to_static_url/123123/9837429.htm

The above link is the same as this link:
http://mullerdigital.com/examples/dynamic_to_static_url?location=123123&name=9837429
This is very common practice now, and should be a standard on most sites. It really will improve clarity for your site when a Search Engine bot surfs by your site.

Deleting Spam file from CPanel (CMS) via FTP

Thursday, March 16th, 2006

Don’t know any real simple way to do this, or even why CPanel hasn’t made the task of deleting large SPAM files easier. When you have SPAM filters set, mail that is considered SPAM is sent into it’s own mail-type file (mail files are just giant files holding all the email message with their attachments. They’re usually seperated in the file by a couple 0×0A.). The reason they’re stored there is in case someone calls and says “Hey did you get that notice that could make you a billionaire?”, and you reply “Now… oh damn, the spam filter must of got it.”. Then you can go into the spam file, find the filtered message and make your billion dollars.

CPanel makes it habit of not cleaning up these files, so if you have limited disk-space on your host, you can run into problems.

To delete the SPAM file from CPanel mail accounts:

  1. FTP into your account
  2. move to ‘mail’ folder -> ‘yourdomain.com’ folder -> ‘account name’ folder
  3. there will be the ’spam’ file… just delete it.
  4. DONE!

That’s how I’m stuck doing it for now. If I find a better way, I’ll post it.

Unix Applications in OS X (non-intel)

Tuesday, March 14th, 2006

OS X by itself comes with some basic unix type stuff, which Terminal allows you access.

There are editors:

There are shells:

  • bash (Bourne-Again Shell)
  • ksh (korn shell)
  • tcsh (the TENEX C Shell)
  • DOS

But this is just the tip of the ice-berg… There is a lot more that the Unix core of OS X can bring to you.

There are a couple things you need to download before this all starts happening for you.

  1. X11 (Good-bye terminal, hello X Window System)
  2. ADC (Sign-up up for Apple Developer Connection. After signing-up, login and click ‘Developer Tools’ on the right-column under ‘Downloads’. Now download the most recent version of Xcode Tools. It’s a fairly large file [around a gig])
  3. FINK (Has a collection of ported [modified] version of open-source Unix apps for OS X [Darwin]. It also comes with many command tools for installation)
  4. FINK Commander (Aqua-GUI for using Fink. Makes life easy.)
  5. DarwinPorts (Like Fink. Make sure to download the DMG file)
  6. Port Authority (Like Fink Commander, but for DarwinPorts)

And… we install. Install in the same order.

Now we can install Unix apps (and Librarys) from Port Authority and Fink Commander. Also note to execute downloaded Apps, you have to open X11; for darwinports you type ‘cd /opt/local/bin’, for fink you type ‘cd /sw/bin’ and then ‘./NameOfApp’

Web-based Office Applications

Monday, March 13th, 2006

Behold the future of office applications!

  1. ThinkFree Office Online – This is the be-all and end-all of online Office apps. I can’t even describe how amazing this is. You can edit any office doc; word, excel or powerpoint. Print it out, save as PDF, save it to a web-disk, or your hard-disk… and it’s all browser-based, so it doesn’t matter what OS you’re on, where you are. This is absolutely fantastic!
  2. Kiko – an Online Calendar, with a whole bunch of bells and whistles
  3. Writely – Like MS Word, but in a browser, just purchased by Google
  4. Numsum – Cute name for an online Spreadsheet application
  5. gOffice – Great way to create good-looking PDF docs and you just need a browser!
  6. JotSpot – If you were in a meeting, and everyone wanted to share notes, this would be the online app to use.