Ok, I need this done rather quickly and simply and I thought I'd be able to get the info I needed with a few simple searches. Unfortunately I'm finding I need a little help.
Here's a description of what I want and why (just in case someone has a better suggestion):
I have a piece of software that will have a few links to web pages on my server. I'd like to be able to modify the web pages and their locatoins without having to re-write the software or redistribute it.
My proposed solution: Call a single URL with a passed variable like this:
http://www.mypocket.com/subfolder/index.php?model=ford
Then my index.php would contain a SWITCH with various cases to correspond to the values being passed. Each case would redirect the client browser to a complete HTML page. Redirecting, from what I've read, should be possible with the following command: header("Location:
http://www.mysite.com/");
Can anyone help me construct a simple page to accept a variable "name" for three values (let's say "name1" "name2" and "name3")
While writing this I believe I have managed to get this working, but I'd really like others input on this. Thanks.
Bruno