//flex table opened by JP

Click to See Complete Forum and Search --> : url strings


derekbaehr
12-19-2001, 11:15 AM
anyone have an example of asp code that will take an address such as this:

http://www.yourdomain.com/name

and pull the name out from the url?

so if i have

www.atsurreal.com/derek

how can i get derek out of the url?

thanks alot....

steve2
12-19-2001, 07:47 PM
Hi
I could be wrong but I don't think you can?

Well sort of, you could try a free forwarding service like kick.to this gives you an address of kick.to/name

name can be what u like

Im sure I read somewhere that you can hide the actual address by using the IP number instad of the address but I can't remember how.
Anyhow, may b some use, may b not?
steve2

qball
12-20-2001, 09:46 PM
anyone have an example of asp code that will take an address such as this:

http://www.yourdomain.com/name


Actually, piece o cake...

Dang, someone has me ASP book.

Anyway, there is a page/url object of some type, else it property of one of the objects in model. This will essenrially give the url as string.

Then simply find ".com\" position and take rest o' string as result in string manips functions.

Maybe problem:

www.whatever.com\derek\qball\derek\qball

What should string manips return?