Don’t let the image resizer crash your server

Don’t let the image resizer crash your server

A simple PHP throttling script to protect TimThumb (or any other CPU intensive script) against massive amounts of requests from the same IP.

Read More

Create an old map
of your location

Create an old map <br />of your location

Create a fantastic looking vintage map following this simple tutorial. As a starting point you will use a screenshot from an actual map from OpenStreetMap.org

Read More

Filter out empty lines in WordPress

The visual editor in WordPress sometimes adds blank paragraphs against your will. Learn how to use a simple WordPress filter to remove all instances of <p>&nbsp;</p> from you posts' content.

Feb 18, 2013     No Comments
Read More

2 WordPress plugins for responsive websites

Starting a new responsive website? These two plugins cover some recurring front end necessities.

Jan 21, 2013     1 Comment
Read More
Free WordPress plugin: Correct My Headings

Free WordPress plugin: Correct My Headings

For a correct heading hierarchy: on single posts pages AND on archive pages.

Apr 10, 2012     No Comments
Read More
Simple CSS footer menu

Simple CSS footer menu

Don't hard code | vertical bars | between your links. Save this code for quick reference, or bookmark this URL — if you're like me, you'll need it each time you start a new project.

Apr 5, 2012     5 Comments
Read More
Password protected area in WordPress

Password protected area in WordPress

If you ever need to set up a simple password protected section under WordPress, these snippets and plugins might come in handy when you're hacking through your theme.

Apr 2, 2012     18 Comments
Read More
Password un-masking: <br/>Show them in clear text

Password un-masking:
Show them in clear text

Useit.com recommends it: "It's time to show most passwords in clear text as users type them." Here's what it looks like on the web...

Sep 30, 2009     21 Comments
Read More
inFrame: Keep demos inside <br />the page with jQuery

inFrame: Keep demos inside
the page with jQuery

Using inFrame the reader doesn't have to go away from the blog post to view external HTML demo files. Just add a class of "inframe" to their links.

Sep 18, 2009     26 Comments
Read More

PHP Tutorial: Build a backend manager for Smooth Gallery

In this tutorial I’ll walk you through the steps involved in building a databaseless PHP admin section for Smooth Gallery. When done, without much effort you should be able to adapt the code to fit any similar JavaScript image gallery.

Oct 14, 2008     13 Comments
Read More
Exclude trackbacks from recent comments listing

Exclude trackbacks from recent comments listing

To spare some time I tryed googleing for don’t show trackbacks in recent comments but wasn’t able to find anything […]

Sep 30, 2008     8 Comments
Read More
Secure a flat file using a .php extension

Secure a flat file using a .php extension

I need to store some sensitive data (user names and passwords) in a flat file. I don’t want to make […]

Sep 1, 2008     12 Comments
Read More

About

VileWorks is all about web design and web development. The tutorials and articles here focus on making things functional, usable and visually appealing.