dbWriter Home
IP to Country Look up
Site Map

IP to Country DB

Free Databases:

ASP Code

ASP Links

VB Script functions:
Array
Case/Select
In String (inStr)
Replace

HTML code:
SELECT Color
SELECT Countries
SELECT Language
SELECT State/Province

SQL:

SQL Functions:
Delete leading Char
Get Browser
Long number from IP

Stored Procedures:

SQL Tricks:
Delete ALL duplicates
Delete dup records

MISC
IP Address Owner
MS SQL Server

Mortgage Calcs:
how much is my payment
Loan Amortization
Loan Calculator
Mortgage Calculator
Motrgage Pay Off

dbWriter License

Link to US

Links

Contact US
 

dbWriter page name from Request.ServerVariables("SCRIPT_NAME")  ASP code

 If you need to hard code the page name into your asp code and you know that you are going to change it.  This code will strip the name  from Request.ServerVariables("SCRIPT_NAME") so you do not have to recode your page every time it's name changes.

To strip the page name from the URL use this code:

[This code ran on this page = PagefromURL.asp]

<%
DIM strPageName
DIM strURL
DIM strURLparts

strURL = Request.ServerVariables("SCRIPT_NAME")
strURLparts = split(strURL, "/")
strPageName = strURLparts(ubound(strURLparts))

%>

Partners/Links © 2005 - 2008 dbWriter.com All Rights Reserved
This site is protected by the dbWriter IPtoCountry MS/SQL database!!
Site map | Link to US
Contact Us

Sign up for PayPal and start accepting credit card payments instantly.