03.20.07

The Machine is Us - A Web 2.0 Video Tutorial

Posted in HTML at 1:37 pm by Keith

Powered by Gregarious (34)

03.09.07

Ruby on Rails Introduction

Posted in HTML, Programming, Web Design at 4:59 pm by Keith

Justin Williams has a great writeup on Ruby on Rails: Ruby on Rails for the Rest of Us.

He introduces Ruby on Rails and compares it to PHP to illustrate some of its features and some basic syntax. If you are wondering what Ruby and Ruby on Rail is, this is the place to start.

Powered by Gregarious (34)

03.08.07

Hardened PHP Contact Form

Posted in Email, HTML, Web Design at 5:17 pm by Keith

To create a basic PHP contact form that isn’t an easy target for spam relaying first start with this tutorial (Writing Your First PHP Script: Feedback Form Script) and then add the hardening measures from this tutorial (Preventing spam when using PHP’s mail function).

Powered by Gregarious (34)

02.22.07

Meta Refresh Redirect

Posted in HTML, Web Design at 3:29 pm by Keith

One of the easiest ways to redirect one web page to another is through a meta refresh tag. I prefer this method to using javascript as not everyone has javascript enabled.

To redirect visitors from one page to another you can add the meta refresh tag to the page you want to redirect from. Add the tag between the opening and closing head tags.

The important part will look something like this:

<meta http-equiv=”refresh” content=”0;url=http://techtips.foundnews.com“>

The relevant parts are the number 0 and the url. The number 0 is the number of seconds before the page is redirected, and the url is where you want the page redirected to. So, adding the above code between the head tags of your web page would make it instantly (in 0 seconds) redirect to http://techtips.foundnews.com. If you want to display a message about the redirect you can add it to the page you are redirecting from and increase the time from 0 seconds to a time, in seconds, long enough for visitors to read the message.

Powered by Gregarious (34)

Socialized through Gregarious 34
Close
E-mail It