get web browsers url string

hi,
does anyone know how to get web browser's url string from the main window running the script in the same window? tnx
sry, spent 3hrs yesterday looking for php/java/js solutions for this, and now with fresh head found the solution in 5 min:
document.URL =)
[286 byte] By [Xeel] at [2007-11-20 11:41:50]
# 1 Re: get web browsers url string
The best way is to use window.location. If you want to find the parameters passed as well, you can use window.location.search.
PeejAvery at 2007-11-8 0:43:23 >