By: Tobi
Date: 2006-12-01
Time: 16:58
|
Idea for TBS
Hi,
i mentioned, that navbar is not working with a page, which adress is changed via mod_rewrite.
so I had an idea to insert the following line:
case 'script_adr': $x = $_SERVER["REQUEST_URI"]; break;
|
Its right after 1845.
So you get the requested_uri with using [var..script_adr]
|
By: Tobi
Date: 2006-12-01
Time: 17:10
|
Re: Idea for TBS
To get only the address, not the whole string:
case 'script_addr': $x = explode('?', $_SERVER["REQUEST_URI"]); $x = $x['0']; break; |
|
By: Skrol29
Date: 2006-12-03
Time: 04:09
|
Re: Idea for TBS
Hi Toby,
The idea is good, I add it to my study list.
|
By: sheepy
Date: 2006-12-04
Time: 03:19
|
Re: Idea for TBS
Just a note. IIRC, REQUEST_URI is unavailable on IIS.
|
By: Gerome
Date: 2006-12-05
Time: 01:22
|
Re: Idea for TBS
Hi,
Why don't you just do [var._SERVER.REQUEST_URI] ?
|
By: Tobi
Date: 2006-12-05
Time: 01:26
|
Re: Idea for TBS
So what do you use to get the requested uri from ISS
|
By: Tobi
Date: 2006-12-05
Time: 01:29
|
Re: Idea for TBS
Do you think of [var._GET.text] and all the other globals too?
I cant find any reason against it... (besides [var._POST.password])
|
By: Gerome
Date: 2006-12-05
Time: 10:11
|
Re: Idea for TBS
yes it works. I never used it since I often have to do some verifications with these variables.
|
By: Tobi
Date: 2006-12-05
Time: 16:33
|
Re: Idea for TBS
it works right now???
|
By: Gerome
Date: 2006-12-07
Time: 15:19
|
Re: Idea for TBS
Sorry mate, I didn't try it lately. It should work anyway...
|
By: Gerome
Date: 2006-12-08
Time: 15:31
|
Re: Idea for TBS
I tested and it works.
|
|
Posting in progress.
Please wait...
|