This redirect script will accept input from a FORM, either via METHOD GET or POST, and send a 300-level HTTP status code to redirect the browser to a new URL. There are two ways to use a FORM in conjunction with this script: 1. A list of URLs with a submit button
In this case, the script will find the input called "url" and redirect the browser to this location. 2. Multiple submit buttons
In this case, the script will find an input NAME that looks like a URL, and redirect the browser to this location. Either method should work fine, just don't use both within the same FORM.