|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi, I am using HTTP_REFERAL to get the reference
URL to my site. but it is giving me full URL with lot of unnecessary parameters like www.abc.com/xyz/index.htm I only need the root URL .. like www.abc.com plz give me some idea how wud i truncate the receiving URL -Regards- - Danish - |
|
#2
|
|||
|
|||
|
Quote:
<% OrigString = "www.abc.com/xyz/index.htm" NewString = mid(OrigString,instr(OrigString,"/")) %> |
|
#3
|
|||
|
|||
|
Quote:
OrigString = "www.abc.com/xyz/index.htm" NewString = mid(OrigString,instr(OrigString)) |
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > using HTTP_REFERAL how to get root URL |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|