Hi guys!
I have a small request that I hope someone can help me out with. Here's what I want to do:
I will have a form on a html page. There will be 1 field in the form called 'Domain'.
User goes to page, and types in 'macnn.com' into the 'domain' field, and then clicks the 'Go' button (submit).
Then this will happen (sudo code):
Code:
Output to Address bar: 'http://www.' + 'Domain' + /blah
They should then be taken to the page:
http://www.macnn.com/blah
Did that make sense? They type a domain, then the script adds bits to it, and sends the browser there. Do I even need PHP for this, or could I just use javascript? Post your simplest suggestions please!
(note the specific request is not relevant, I need to do this for a few sites, so I would like a simple way to simply add these fields to the end of a URL)
Thanks!! (expecting hundreds of great replies when I wake up in the morning

)