Click to See Complete Forum and Search --> : Addressbar...


Raymond175
11-01-2003, 10:38 AM
Hi all,

I have a problem with my website. On my website there can register alot of people for a free contactprofile. Now I have a free redirect to my website en the redirect is opening the main page of my website.

www.cutoo.tk <== redirect
www.darkwebdesign.com/cutoo/index.php <== main page

What I want is the following:

www.cutoo.tk/username

My redirect doesn't care about the text given, it just redirects to my main page. But I want my main page to READ the addressbar to see what the user has entered!

So I can strip the everything before "/" en get the username out of the address and redirect to the right page...

Is there someone who could help me on this?
Thanks,
Raymond

AdamGundry
11-01-2003, 11:10 AM
Try this (may not work due to security issues):

top.document.location.pathname

Adam