All Beginner Tutorials

So – I’ve just started off this new site – All Beginner Tutorials. It’s aimed at becoming a repository for many beginner-focused tutorials. Please take the time to check it out, and even add a tutorial or two!

Posted in Tools at September 12th, 2010. No Comments.

How to make URL Safe strings for mod_rewrite using PHP

It’s relatively easy to make URL safe strings for use by mod_rewrite. Let’s use the example that you have a form that adds a new blog post to your site. When the user submits this form, you want to generate a URL safe string (based on the title of the blog post) for mod_rewrite to use. This little snippet will show you how this can be achieved in one line of code in PHP.
Read More…

Posted in Mod_Rewrite, PHP, Tools at July 11th, 2010. 3 Comments.

Functions Inc.

Functions Inc. is a new site I’ve started for all you guys to add your code snippets to. It’s an online code snippet repository where you can add your useful snippets, as well as view others. You can keep your snippets private, just using the site as an online code library, or choose to share them with others.

Why not head over there now and check it out. It’s free!

Posted in Tools at January 4th, 2009. No Comments.

Online .htpasswd Generator

Use the following .htpasswd generator to secure your Apache web directories.

Make sure you have a .htaccess and .htpasswd file in the directory you want to secure, then add the entries once you’ve generated your password.

Posted in .htaccess, Apache, Tools at March 7th, 2008. 2 Comments.

Online MD5 Hash Generator

Here is a simple MD5 hash generator I created quickly as part of a useful toolset I’m planning to build up.

The code to generate an MD5 hash using PHP is simple:

md5($string_to_convert);

Posted in Tools at March 7th, 2008. 12 Comments.