Right. I know no VBScript, JavaScript, or anything, only a little HTML (but I'm willing to learn!).
What I'm trying to do is this:
Someone clicks a link on a webpage.
The link takes them through to a redirect page on our server, which takes the place they want to go to from the address, writes that to a text file, and redirects to the end page.
EG:
go to www.startpage.com/links
click the link http://www.daverobev.com/blah/defaul...=www.hexus.net
Write www.hexus.net to www.daverobev.com/blah/data.txt
redirect to www.hexus.net
I can do all of the things I need to do.
The problem is, I can't do them all at once. I'm using someone else's code from other webpages we use, plus bits and bobs learned from the net.
We use (I think) VBScript to do the writing to text file from a form.
I'm using JavaScript to get the url.
So I can quite happily redirect using java and a function that gets a text string starting at the = of www.site.com?url=, and store that in a variable...and then use window.location = "http://" +variable.
Help?