473,232 Members | 1,593 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,232 software developers and data experts.

getting the page name

How do I request the actual page name that I'm on? This is going to go into
an include file, and depending on which page I'm on, I'd like to do
different things. I'm looking for "pagename.asp"
Jul 19 '05 #1
15 2092
Exract it from the SCRIPT_NAME server variable.

<%

Response.Write GetFilename

Function GetFilename
Dim sPath, aParts
sPath = Request.ServerVariables("SCRIPT_NAME")
aParts = Split("/" & sPath, "/")
GetFilename = aParts(UBound(aParts))
End Function
%>

Ray at work

"middletree" <mi********@htomail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
How do I request the actual page name that I'm on? This is going to go into an include file, and depending on which page I'm on, I'd like to do
different things. I'm looking for "pagename.asp"

Jul 19 '05 #2
strPageName = Request.ServerVariables("SCRIPT_NAME") & "<br>"
if instr(strPageName,"/")>0 then
strPageName = right(strPageName, len(strPageName) -
instrRev(strPageName,"/"))
end if
response.write strPageName

Cheers
Steve
"middletree" <mi********@htomail.com> wrote in message
news:#8**************@tk2msftngp13.phx.gbl...
How do I request the actual page name that I'm on? This is going to go into an include file, and depending on which page I'm on, I'd like to do
different things. I'm looking for "pagename.asp"

Jul 19 '05 #3
middletree, I've noticed that a lot of your questions are answered in very
straightforward articles at www.aspfaq.com. In order to save yourself some
time, I might suggest searching there before posting here.
http://www.aspfaq.com/2072

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"middletree" <mi********@htomail.com> wrote in message
news:#8**************@tk2msftngp13.phx.gbl...
How do I request the actual page name that I'm on? This is going to go into an include file, and depending on which page I'm on, I'd like to do
different things. I'm looking for "pagename.asp"

Jul 19 '05 #4
Not to sound defensive, but actually, 95% of the time, I do check
aspfaq.com. I find it a very valuable resource, and have a great
appreciation of it and you for making the site happen. In this case, I did
not check it, and I should have.
"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:us*************@TK2MSFTNGP10.phx.gbl...
middletree, I've noticed that a lot of your questions are answered in very
straightforward articles at www.aspfaq.com. In order to save yourself some time, I might suggest searching there before posting here.
http://www.aspfaq.com/2072

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"middletree" <mi********@htomail.com> wrote in message
news:#8**************@tk2msftngp13.phx.gbl...
How do I request the actual page name that I'm on? This is going to go

into
an include file, and depending on which page I'm on, I'd like to do
different things. I'm looking for "pagename.asp"


Jul 19 '05 #5

Is there a problem with the home page hanging Aaron?

Brynn
On Tue, 20 Jan 2004 13:08:01 -0500, "Aaron Bertrand - MVP"
<aa***@TRASHaspfaq.com> wrote:
middletree, I've noticed that a lot of your questions are answered in very
straightforward articles at www.aspfaq.com. In order to save yourself some
time, I might suggest searching there before posting here.
http://www.aspfaq.com/2072

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"middletree" <mi********@htomail.com> wrote in message
news:#8**************@tk2msftngp13.phx.gbl...
How do I request the actual page name that I'm on? This is going to go

into
an include file, and depending on which page I'm on, I'd like to do
different things. I'm looking for "pagename.asp"



Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!
Jul 19 '05 #6
Uh, not that I can tell.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Brynn" <z@z.com> wrote in message
news:40**************@news.comcast.giganews.com...

Is there a problem with the home page hanging Aaron?

Brynn
On Tue, 20 Jan 2004 13:08:01 -0500, "Aaron Bertrand - MVP"
<aa***@TRASHaspfaq.com> wrote:
middletree, I've noticed that a lot of your questions are answered in verystraightforward articles at www.aspfaq.com. In order to save yourself sometime, I might suggest searching there before posting here.
http://www.aspfaq.com/2072

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"middletree" <mi********@htomail.com> wrote in message
news:#8**************@tk2msftngp13.phx.gbl...
How do I request the actual page name that I'm on? This is going to go

into
an include file, and depending on which page I'm on, I'd like to do
different things. I'm looking for "pagename.asp"



Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!

Jul 19 '05 #7
Are you sure you weren't loading your own site? ;]

Ray at work

"Brynn" <z@z.com> wrote in message
news:40**************@news.comcast.giganews.com...

Is there a problem with the home page hanging Aaron?

Brynn

www.coolpier.com

Jul 19 '05 #8
I can vouch for this. Middletree searches many places before posting! :]

Ray at work

"middletree" <mi********@htomail.com> wrote in message
news:e%****************@TK2MSFTNGP12.phx.gbl...
Not to sound defensive, but actually, 95% of the time, I do check
aspfaq.com. I find it a very valuable resource, and have a great
appreciation of it and you for making the site happen. In this case, I did
not check it, and I should have.
"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:us*************@TK2MSFTNGP10.phx.gbl...
middletree, I've noticed that a lot of your questions are answered in very straightforward articles at www.aspfaq.com. In order to save yourself

some
time, I might suggest searching there before posting here.
http://www.aspfaq.com/2072

Jul 19 '05 #9

It is getting to this point when viewing source, then hanging for me
... everytime?
<html>
<head>
<title>ASP FAQ</title>

<script>
function showGrad(el,s,e,t) { document.all(el).style.filter =
"progid:DXImageTransform.Microsoft.Gradient(Gradie ntType=,
StartColorStr='"+s+"', EndColorStr='"+e+"')"; }
function a(el)
{
if (document.all)
{
//document.body.style.cursor = 'pointer';
//showGrad(el, '#FFFFFF', '#bfd3ee');
document.all(el).style.color = "#6666cc";
}
}
function b(el)
{
if (document.all)
{
//document.body.style.cursor = 'default';
//document.all(el).style.filter = "";
document.all(el).style.color = "#333399";
}
}
</script>
<style>

* { font-family:franklin gothic medium, tahoma, verdana;
font-size:x-small; }
..td1 { margin-top: 1px solid #8aa6cb }
..menuTD { border-left:1px solid
#6884a9;cursor:hand;color:#333399;padding-left:4px; padding-right:4px;
}
..menuON { border-left:1px solid
#6884a9;color:#FFFFFF;padding-left:4px; padding-right:4px; }
..rTD { cursor:hand;color:#333399;padding-left:4px;
padding-right:4px;font-size:12px; }
..nTD { padding-right:10px;font-size:12px; }
..sTD { border-right: 1px solid
#cccccc;padding-left:4px;padding-right:4px;font-size:12px; }
..sTD2 { padding-left:4px;padding-right:4px;font-size:12px; }
..result { font-size:12px; }
..menuSPAN { font-size:11px;padding-left:4px; padding-right:4px; }
..footer { font-size:9px; }
..footerON { font-size:9px; color:#ff7800 }
INPUT, SELECT { font-size: 12px }
a { color:#333399; text-decoration:underline; padding-left:2px;
padding-right:2px }
a:hover { text-decoration:none; color:#ff7800; }
a.menu { color:#333399; font-size:11px; text-decoration:none;
padding-left:4px; padding-right:4px }
a.footer { padding-left:0px;padding-right:0px;text-decoration:none;
color:#333399; background:#ffffff }
a.footer:hover { text-decoration:none; color:#ff7800 }
a.f { padding-left:0px;padding-right:0px; text-decoration:none; }
a.f2 { padding-left:0px;padding-right:0px;
text-decoration:none;font-size:12px; }
a.f2:hover { color:#CC7800 }
a.g {
padding-left:0px;padding-right:0px;font-size:11px;color:white;text-decoration:none
}
..g2 { font-size:11px;color:#000080; }
a.g:hover { color:#000080 }
..txt { font-family:franklin gothic medium, tahoma, verdana;
font-size:9px;height:23px;background:#efefef;border:1px solid #a9a9a9
}
..but { border-style:groove; }
..sel { font-family:franklin gothic medium, tahoma, verdana;
font-size:9px;height:18px; }
..headline { font-family:tahoma;font-size:17px; }
..code
{
font-family:lucida console,ms gothic,courier
new;font-size:12px;color:#000080;
background:#ececec;line-height:14px;padding-left:15px;
border:1px solid #cccccc;
}
..codeb
{
font-family:lucida console,ms gothic,courier
new;font-size:12px;color:#000080;
}

@media print {
.hidePrint { display:none }
.hideScreen { display:all }
.footer { font-size:11px }
}

@media screen {
.hideScreen { display:none }
}

</style>
</head>

<body topmargin=0 leftmargin=0 rightmargin=0 bottommargin=0
marginheight=0 marginwidth=0
bgcolor=#ffffff>
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0>
<tr>
<td bgcolor=#8aa6cb width=150>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr valign=bottom>
<td bgcolor=#8aa6cb width=150><img src=a.gif vspace=55
width=150 height=40></td>
<td><table width=459 border=0 cellpadding=5
cellspacing=0><tr><td><!-- <b><span class=headline>ASP FAQ
4.0</span></b> -->
<p>We've added and enhanced many new features, including
printer-friendly
articles, a better <a class=f href=kbsearch.asp>KB
search engine</a>,
site and article <a class=f
href=stats.asp>statistics</a>, and an <a class=f
href=rss.asp>RSS feed</a>.

<p>This is still *your* site. No annoying pop-up ads, no
registration hassles, and no
fees. Just a fresh collection of ASP
and SQL Server articles to help you get your own
sites up and running, and keep them running.
If we help you out, though, remember to consider <a
class=f href=donate.asp>helping
us out</a> as well.

</td></tr></table><p>&nbsp;<p><img src=f.gif width=369
height=135></td>
</tr>
<tr>
<td bgcolor=#8aa6cb width=150 style='border-bottom:1px solid
#FFFFFF'>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr height=20>
<td bgcolor=#8aa6cb width=150>&nbsp;</td>
<td bgcolor=#8aa6cb align=right style='color:white'>
//&nbsp;&nbsp;<a class=g href=search.asp
onclick='this.blur();'>search</a>&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;<a
class=g href=kbsearch.asp onclick='this.blur();'>kb
search</a>&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;<a class=g href=news.asp
onclick='this.blur();'>news</a>&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;<a
class=g href=categories.asp
onclick='this.blur();'>categories</a>&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;<a
class=g href=downloads.asp
onclick='this.blur();'>downloads</a>&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;<a
class=g href=stats.asp
onclick='this.blur();'>statistics</a>&nbsp;&nbsp;&nbsp;</td>
</tr>
<tr valign=bottom>
<td bgcolor=#8aa6cb width=150 height=60 align=center
style='border-top:1px solid #FFFFFF'><a href='#' style='padding:0px'
onclick='document.donation.submit();return false;'><img
id='ppal'
src=/img/paypal.gif border=0 align=center hspace=10 title='
Help us pay for hosting.
Keep aspfaq.com ad-free! ' alt=' Help us pay for hosting.
Keep aspfaq.com ad-free! ' width=62 height=31 vspace=10></a></td>
<td>




On Tue, 20 Jan 2004 13:25:59 -0500, "Aaron Bertrand - MVP"
<aa***@TRASHaspfaq.com> wrote:
Uh, not that I can tell.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Brynn" <z@z.com> wrote in message
news:40**************@news.comcast.giganews.com.. .

Is there a problem with the home page hanging Aaron?

Brynn
On Tue, 20 Jan 2004 13:08:01 -0500, "Aaron Bertrand - MVP"
<aa***@TRASHaspfaq.com> wrote:
>middletree, I've noticed that a lot of your questions are answered invery >straightforward articles at www.aspfaq.com. In order to save yourselfsome >time, I might suggest searching there before posting here.
>http://www.aspfaq.com/2072
>
>--
>Aaron Bertrand
>SQL Server MVP
>http://www.aspfaq.com/
>
>
>
>
>"middletree" <mi********@htomail.com> wrote in message
>news:#8**************@tk2msftngp13.phx.gbl...
>> How do I request the actual page name that I'm on? This is going to go
>into
>> an include file, and depending on which page I'm on, I'd like to do
>> different things. I'm looking for "pagename.asp"
>>
>>
>
>


Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!



Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!
Jul 19 '05 #10

I KNOW my site is hanging ... LOL ... I just sent a nasty email to my
web host. my code is VERY clean ... but I am looking for a new host
with decent SQL space ... and ability to handle multiple domains in my
subdirectories ... any suggestions :)

Brynn
On Tue, 20 Jan 2004 13:39:54 -0500, "Ray at <%=sLocation%>"
<myfirstname at lane34 dot com> wrote:
Are you sure you weren't loading your own site? ;]

Ray at work

"Brynn" <z@z.com> wrote in message
news:40**************@news.comcast.giganews.com.. .

Is there a problem with the home page hanging Aaron?

Brynn

www.coolpier.com



Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!
Jul 19 '05 #11
Get yourself a dedicated server from www.servermatrix.com and buy your own
SQL Server license (eegs!), use MSDE, or use MySQL. :]

Ray at home

"Brynn" <z@z.com> wrote in message
news:40**************@news.comcast.giganews.com...

I KNOW my site is hanging ... LOL ... I just sent a nasty email to my
web host. my code is VERY clean ... but I am looking for a new host
with decent SQL space ... and ability to handle multiple domains in my
subdirectories ... any suggestions :)

Brynn
On Tue, 20 Jan 2004 13:39:54 -0500, "Ray at <%=sLocation%>"
<myfirstname at lane34 dot com> wrote:
Are you sure you weren't loading your own site? ;]

Ray at work

"Brynn" <z@z.com> wrote in message
news:40**************@news.comcast.giganews.com.. .

Is there a problem with the home page hanging Aaron?

Brynn

www.coolpier.com



Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!

Jul 19 '05 #12
I think you're the only one... usually within 5 minutes of any problem I see
a flood of e-mails from "concerned" friends. :-)


"Brynn" <z@z.com> wrote in message
news:40**************@news.comcast.giganews.com...

It is getting to this point when viewing source, then hanging for me
.. everytime?
<html>
<head>
<title>ASP FAQ</title>

<script>
function showGrad(el,s,e,t) { document.all(el).style.filter =
"progid:DXImageTransform.Microsoft.Gradient(Gradie ntType=,
StartColorStr='"+s+"', EndColorStr='"+e+"')"; }
function a(el)
{
if (document.all)
{
//document.body.style.cursor = 'pointer';
//showGrad(el, '#FFFFFF', '#bfd3ee');
document.all(el).style.color = "#6666cc";
}
}
function b(el)
{
if (document.all)
{
//document.body.style.cursor = 'default';
//document.all(el).style.filter = "";
document.all(el).style.color = "#333399";
}
}
</script>
<style>

* { font-family:franklin gothic medium, tahoma, verdana;
font-size:x-small; }
.td1 { margin-top: 1px solid #8aa6cb }
.menuTD { border-left:1px solid
#6884a9;cursor:hand;color:#333399;padding-left:4px; padding-right:4px;
}
.menuON { border-left:1px solid
#6884a9;color:#FFFFFF;padding-left:4px; padding-right:4px; }
.rTD { cursor:hand;color:#333399;padding-left:4px;
padding-right:4px;font-size:12px; }
.nTD { padding-right:10px;font-size:12px; }
.sTD { border-right: 1px solid
#cccccc;padding-left:4px;padding-right:4px;font-size:12px; }
.sTD2 { padding-left:4px;padding-right:4px;font-size:12px; }
.result { font-size:12px; }
.menuSPAN { font-size:11px;padding-left:4px; padding-right:4px; }
.footer { font-size:9px; }
.footerON { font-size:9px; color:#ff7800 }
INPUT, SELECT { font-size: 12px }
a { color:#333399; text-decoration:underline; padding-left:2px;
padding-right:2px }
a:hover { text-decoration:none; color:#ff7800; }
a.menu { color:#333399; font-size:11px; text-decoration:none;
padding-left:4px; padding-right:4px }
a.footer { padding-left:0px;padding-right:0px;text-decoration:none;
color:#333399; background:#ffffff }
a.footer:hover { text-decoration:none; color:#ff7800 }
a.f { padding-left:0px;padding-right:0px; text-decoration:none; }
a.f2 { padding-left:0px;padding-right:0px;
text-decoration:none;font-size:12px; }
a.f2:hover { color:#CC7800 }
a.g {
padding-left:0px;padding-right:0px;font-size:11px;color:white;text-decoratio
n:none }
.g2 { font-size:11px;color:#000080; }
a.g:hover { color:#000080 }
.txt { font-family:franklin gothic medium, tahoma, verdana;
font-size:9px;height:23px;background:#efefef;border:1px solid #a9a9a9
}
.but { border-style:groove; }
.sel { font-family:franklin gothic medium, tahoma, verdana;
font-size:9px;height:18px; }
.headline { font-family:tahoma;font-size:17px; }
.code
{
font-family:lucida console,ms gothic,courier
new;font-size:12px;color:#000080;
background:#ececec;line-height:14px;padding-left:15px;
border:1px solid #cccccc;
}
.codeb
{
font-family:lucida console,ms gothic,courier
new;font-size:12px;color:#000080;
}

@media print {
.hidePrint { display:none }
.hideScreen { display:all }
.footer { font-size:11px }
}

@media screen {
.hideScreen { display:none }
}

</style>
</head>

<body topmargin=0 leftmargin=0 rightmargin=0 bottommargin=0
marginheight=0 marginwidth=0
bgcolor=#ffffff>
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0>
<tr>
<td bgcolor=#8aa6cb width=150>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr valign=bottom>
<td bgcolor=#8aa6cb width=150><img src=a.gif vspace=55
width=150 height=40></td>
<td><table width=459 border=0 cellpadding=5
cellspacing=0><tr><td><!-- <b><span class=headline>ASP FAQ
4.0</span></b> -->
<p>We've added and enhanced many new features, including
printer-friendly
articles, a better <a class=f href=kbsearch.asp>KB
search engine</a>,
site and article <a class=f
href=stats.asp>statistics</a>, and an <a class=f
href=rss.asp>RSS feed</a>.

<p>This is still *your* site. No annoying pop-up ads, no
registration hassles, and no
fees. Just a fresh collection of ASP
and SQL Server articles to help you get your own
sites up and running, and keep them running.
If we help you out, though, remember to consider <a
class=f href=donate.asp>helping
us out</a> as well.

</td></tr></table><p>&nbsp;<p><img src=f.gif width=369
height=135></td>
</tr>
<tr>
<td bgcolor=#8aa6cb width=150 style='border-bottom:1px solid
#FFFFFF'>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr height=20>
<td bgcolor=#8aa6cb width=150>&nbsp;</td>
<td bgcolor=#8aa6cb align=right style='color:white'>
//&nbsp;&nbsp;<a class=g href=search.asp
onclick='this.blur();'>search</a>&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;<a
class=g href=kbsearch.asp onclick='this.blur();'>kb
search</a>&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;<a class=g href=news.asp
onclick='this.blur();'>news</a>&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;<a
class=g href=categories.asp
onclick='this.blur();'>categories</a>&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;<a
class=g href=downloads.asp
onclick='this.blur();'>downloads</a>&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;<a
class=g href=stats.asp
onclick='this.blur();'>statistics</a>&nbsp;&nbsp;&nbsp;</td>
</tr>
<tr valign=bottom>
<td bgcolor=#8aa6cb width=150 height=60 align=center
style='border-top:1px solid #FFFFFF'><a href='#' style='padding:0px'
onclick='document.donation.submit();return false;'><img
id='ppal'
src=/img/paypal.gif border=0 align=center hspace=10 title='
Help us pay for hosting.
Keep aspfaq.com ad-free! ' alt=' Help us pay for hosting.
Keep aspfaq.com ad-free! ' width=62 height=31 vspace=10></a></td>
<td>




On Tue, 20 Jan 2004 13:25:59 -0500, "Aaron Bertrand - MVP"
<aa***@TRASHaspfaq.com> wrote:
Uh, not that I can tell.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Brynn" <z@z.com> wrote in message
news:40**************@news.comcast.giganews.com.. .

Is there a problem with the home page hanging Aaron?

Brynn
On Tue, 20 Jan 2004 13:08:01 -0500, "Aaron Bertrand - MVP"
<aa***@TRASHaspfaq.com> wrote:

>middletree, I've noticed that a lot of your questions are answered in

very
>straightforward articles at www.aspfaq.com. In order to save yourself

some
>time, I might suggest searching there before posting here.
>http://www.aspfaq.com/2072
>
>--
>Aaron Bertrand
>SQL Server MVP
>http://www.aspfaq.com/
>
>
>
>
>"middletree" <mi********@htomail.com> wrote in message
>news:#8**************@tk2msftngp13.phx.gbl...
>> How do I request the actual page name that I'm on? This is going to go >into
>> an include file, and depending on which page I'm on, I'd like to do
>> different things. I'm looking for "pagename.asp"
>>
>>
>
>

Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!



Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!

Jul 19 '05 #13

Hmm, it may be just me ... but it consistantly, after cache clear and
everything ... gets to that same point, and stops ... what type of
commands do you have at that point in your code. I am not asking for
you to open up anything security wise, just general idea. Maybe I have
something wierd happening here.

Brynn

On Tue, 20 Jan 2004 22:46:32 -0500, "Aaron Bertrand [MVP]"
<aa***@TRASHaspfaq.com> wrote:
I think you're the only one... usually within 5 minutes of any problem I see
a flood of e-mails from "concerned" friends. :-)


"Brynn" <z@z.com> wrote in message
news:40**************@news.comcast.giganews.com.. .

It is getting to this point when viewing source, then hanging for me
.. everytime?
<html>
<head>
<title>ASP FAQ</title>

<script>
function showGrad(el,s,e,t) { document.all(el).style.filter =
"progid:DXImageTransform.Microsoft.Gradient(Gradie ntType=,
StartColorStr='"+s+"', EndColorStr='"+e+"')"; }
function a(el)
{
if (document.all)
{
//document.body.style.cursor = 'pointer';
//showGrad(el, '#FFFFFF', '#bfd3ee');
document.all(el).style.color = "#6666cc";
}
}
function b(el)
{
if (document.all)
{
//document.body.style.cursor = 'default';
//document.all(el).style.filter = "";
document.all(el).style.color = "#333399";
}
}
</script>
<style>

* { font-family:franklin gothic medium, tahoma, verdana;
font-size:x-small; }
.td1 { margin-top: 1px solid #8aa6cb }
.menuTD { border-left:1px solid
#6884a9;cursor:hand;color:#333399;padding-left:4px; padding-right:4px;
}
.menuON { border-left:1px solid
#6884a9;color:#FFFFFF;padding-left:4px; padding-right:4px; }
.rTD { cursor:hand;color:#333399;padding-left:4px;
padding-right:4px;font-size:12px; }
.nTD { padding-right:10px;font-size:12px; }
.sTD { border-right: 1px solid
#cccccc;padding-left:4px;padding-right:4px;font-size:12px; }
.sTD2 { padding-left:4px;padding-right:4px;font-size:12px; }
.result { font-size:12px; }
.menuSPAN { font-size:11px;padding-left:4px; padding-right:4px; }
.footer { font-size:9px; }
.footerON { font-size:9px; color:#ff7800 }
INPUT, SELECT { font-size: 12px }
a { color:#333399; text-decoration:underline; padding-left:2px;
padding-right:2px }
a:hover { text-decoration:none; color:#ff7800; }
a.menu { color:#333399; font-size:11px; text-decoration:none;
padding-left:4px; padding-right:4px }
a.footer { padding-left:0px;padding-right:0px;text-decoration:none;
color:#333399; background:#ffffff }
a.footer:hover { text-decoration:none; color:#ff7800 }
a.f { padding-left:0px;padding-right:0px; text-decoration:none; }
a.f2 { padding-left:0px;padding-right:0px;
text-decoration:none;font-size:12px; }
a.f2:hover { color:#CC7800 }
a.g {

padding-left:0px;padding-right:0px;font-size:11px;color:white;text-decoratio
n:none
}
.g2 { font-size:11px;color:#000080; }
a.g:hover { color:#000080 }
.txt { font-family:franklin gothic medium, tahoma, verdana;
font-size:9px;height:23px;background:#efefef;border:1px solid #a9a9a9
}
.but { border-style:groove; }
.sel { font-family:franklin gothic medium, tahoma, verdana;
font-size:9px;height:18px; }
.headline { font-family:tahoma;font-size:17px; }
.code
{
font-family:lucida console,ms gothic,courier
new;font-size:12px;color:#000080;
background:#ececec;line-height:14px;padding-left:15px;
border:1px solid #cccccc;
}
.codeb
{
font-family:lucida console,ms gothic,courier
new;font-size:12px;color:#000080;
}

@media print {
.hidePrint { display:none }
.hideScreen { display:all }
.footer { font-size:11px }
}

@media screen {
.hideScreen { display:none }
}

</style>
</head>

<body topmargin=0 leftmargin=0 rightmargin=0 bottommargin=0
marginheight=0 marginwidth=0
bgcolor=#ffffff>
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0>
<tr>
<td bgcolor=#8aa6cb width=150>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr valign=bottom>
<td bgcolor=#8aa6cb width=150><img src=a.gif vspace=55
width=150 height=40></td>
<td><table width=459 border=0 cellpadding=5
cellspacing=0><tr><td><!-- <b><span class=headline>ASP FAQ
4.0</span></b> -->
<p>We've added and enhanced many new features, including
printer-friendly
articles, a better <a class=f href=kbsearch.asp>KB
search engine</a>,
site and article <a class=f
href=stats.asp>statistics</a>, and an <a class=f
href=rss.asp>RSS feed</a>.

<p>This is still *your* site. No annoying pop-up ads, no
registration hassles, and no
fees. Just a fresh collection of ASP
and SQL Server articles to help you get your own
sites up and running, and keep them running.
If we help you out, though, remember to consider <a
class=f href=donate.asp>helping
us out</a> as well.

</td></tr></table><p>&nbsp;<p><img src=f.gif width=369
height=135></td>
</tr>
<tr>
<td bgcolor=#8aa6cb width=150 style='border-bottom:1px solid
#FFFFFF'>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr height=20>
<td bgcolor=#8aa6cb width=150>&nbsp;</td>
<td bgcolor=#8aa6cb align=right style='color:white'>
//&nbsp;&nbsp;<a class=g href=search.asp
onclick='this.blur();'>search</a>&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;<a
class=g href=kbsearch.asp onclick='this.blur();'>kb
search</a>&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;<a class=g href=news.asp
onclick='this.blur();'>news</a>&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;<a
class=g href=categories.asp
onclick='this.blur();'>categories</a>&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;<a
class=g href=downloads.asp
onclick='this.blur();'>downloads</a>&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;<a
class=g href=stats.asp
onclick='this.blur();'>statistics</a>&nbsp;&nbsp;&nbsp;</td>
</tr>
<tr valign=bottom>
<td bgcolor=#8aa6cb width=150 height=60 align=center
style='border-top:1px solid #FFFFFF'><a href='#' style='padding:0px'
onclick='document.donation.submit();return false;'><img
id='ppal'
src=/img/paypal.gif border=0 align=center hspace=10 title='
Help us pay for hosting.
Keep aspfaq.com ad-free! ' alt=' Help us pay for hosting.
Keep aspfaq.com ad-free! ' width=62 height=31 vspace=10></a></td>
<td>




On Tue, 20 Jan 2004 13:25:59 -0500, "Aaron Bertrand - MVP"
<aa***@TRASHaspfaq.com> wrote:
>Uh, not that I can tell.
>
>--
>Aaron Bertrand
>SQL Server MVP
>http://www.aspfaq.com/
>
>
>
>
>"Brynn" <z@z.com> wrote in message
>news:40**************@news.comcast.giganews.com.. .
>>
>> Is there a problem with the home page hanging Aaron?
>>
>> Brynn
>>
>>
>> On Tue, 20 Jan 2004 13:08:01 -0500, "Aaron Bertrand - MVP"
>> <aa***@TRASHaspfaq.com> wrote:
>>
>> >middletree, I've noticed that a lot of your questions are answered in
>very
>> >straightforward articles at www.aspfaq.com. In order to save yourself
>some
>> >time, I might suggest searching there before posting here.
>> >http://www.aspfaq.com/2072
>> >
>> >--
>> >Aaron Bertrand
>> >SQL Server MVP
>> >http://www.aspfaq.com/
>> >
>> >
>> >
>> >
>> >"middletree" <mi********@htomail.com> wrote in message
>> >news:#8**************@tk2msftngp13.phx.gbl...
>> >> How do I request the actual page name that I'm on? This is going togo >> >into
>> >> an include file, and depending on which page I'm on, I'd like to do
>> >> different things. I'm looking for "pagename.asp"
>> >>
>> >>
>> >
>> >
>>
>> Brynn
>> www.coolpier.com
>>
>> I participate in the group to help give examples of code.
>> I do not guarantee the effects of any code posted.
>> Test all code before use!
>
>


Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!



Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!
Jul 19 '05 #14

Also off topic, what news reader do you recommend ... gettin sick of
mine.

Brynn

On Tue, 20 Jan 2004 22:46:32 -0500, "Aaron Bertrand [MVP]"
<aa***@TRASHaspfaq.com> wrote:
I think you're the only one... usually within 5 minutes of any problem I see
a flood of e-mails from "concerned" friends. :-)


"Brynn" <z@z.com> wrote in message
news:40**************@news.comcast.giganews.com.. .

It is getting to this point when viewing source, then hanging for me
.. everytime?
<html>
<head>
<title>ASP FAQ</title>

<script>
function showGrad(el,s,e,t) { document.all(el).style.filter =
"progid:DXImageTransform.Microsoft.Gradient(Gradie ntType=,
StartColorStr='"+s+"', EndColorStr='"+e+"')"; }
function a(el)
{
if (document.all)
{
//document.body.style.cursor = 'pointer';
//showGrad(el, '#FFFFFF', '#bfd3ee');
document.all(el).style.color = "#6666cc";
}
}
function b(el)
{
if (document.all)
{
//document.body.style.cursor = 'default';
//document.all(el).style.filter = "";
document.all(el).style.color = "#333399";
}
}
</script>
<style>

* { font-family:franklin gothic medium, tahoma, verdana;
font-size:x-small; }
.td1 { margin-top: 1px solid #8aa6cb }
.menuTD { border-left:1px solid
#6884a9;cursor:hand;color:#333399;padding-left:4px; padding-right:4px;
}
.menuON { border-left:1px solid
#6884a9;color:#FFFFFF;padding-left:4px; padding-right:4px; }
.rTD { cursor:hand;color:#333399;padding-left:4px;
padding-right:4px;font-size:12px; }
.nTD { padding-right:10px;font-size:12px; }
.sTD { border-right: 1px solid
#cccccc;padding-left:4px;padding-right:4px;font-size:12px; }
.sTD2 { padding-left:4px;padding-right:4px;font-size:12px; }
.result { font-size:12px; }
.menuSPAN { font-size:11px;padding-left:4px; padding-right:4px; }
.footer { font-size:9px; }
.footerON { font-size:9px; color:#ff7800 }
INPUT, SELECT { font-size: 12px }
a { color:#333399; text-decoration:underline; padding-left:2px;
padding-right:2px }
a:hover { text-decoration:none; color:#ff7800; }
a.menu { color:#333399; font-size:11px; text-decoration:none;
padding-left:4px; padding-right:4px }
a.footer { padding-left:0px;padding-right:0px;text-decoration:none;
color:#333399; background:#ffffff }
a.footer:hover { text-decoration:none; color:#ff7800 }
a.f { padding-left:0px;padding-right:0px; text-decoration:none; }
a.f2 { padding-left:0px;padding-right:0px;
text-decoration:none;font-size:12px; }
a.f2:hover { color:#CC7800 }
a.g {

padding-left:0px;padding-right:0px;font-size:11px;color:white;text-decoratio
n:none
}
.g2 { font-size:11px;color:#000080; }
a.g:hover { color:#000080 }
.txt { font-family:franklin gothic medium, tahoma, verdana;
font-size:9px;height:23px;background:#efefef;border:1px solid #a9a9a9
}
.but { border-style:groove; }
.sel { font-family:franklin gothic medium, tahoma, verdana;
font-size:9px;height:18px; }
.headline { font-family:tahoma;font-size:17px; }
.code
{
font-family:lucida console,ms gothic,courier
new;font-size:12px;color:#000080;
background:#ececec;line-height:14px;padding-left:15px;
border:1px solid #cccccc;
}
.codeb
{
font-family:lucida console,ms gothic,courier
new;font-size:12px;color:#000080;
}

@media print {
.hidePrint { display:none }
.hideScreen { display:all }
.footer { font-size:11px }
}

@media screen {
.hideScreen { display:none }
}

</style>
</head>

<body topmargin=0 leftmargin=0 rightmargin=0 bottommargin=0
marginheight=0 marginwidth=0
bgcolor=#ffffff>
<table border=0 width=100% height=100% cellpadding=0 cellspacing=0>
<tr>
<td bgcolor=#8aa6cb width=150>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr valign=bottom>
<td bgcolor=#8aa6cb width=150><img src=a.gif vspace=55
width=150 height=40></td>
<td><table width=459 border=0 cellpadding=5
cellspacing=0><tr><td><!-- <b><span class=headline>ASP FAQ
4.0</span></b> -->
<p>We've added and enhanced many new features, including
printer-friendly
articles, a better <a class=f href=kbsearch.asp>KB
search engine</a>,
site and article <a class=f
href=stats.asp>statistics</a>, and an <a class=f
href=rss.asp>RSS feed</a>.

<p>This is still *your* site. No annoying pop-up ads, no
registration hassles, and no
fees. Just a fresh collection of ASP
and SQL Server articles to help you get your own
sites up and running, and keep them running.
If we help you out, though, remember to consider <a
class=f href=donate.asp>helping
us out</a> as well.

</td></tr></table><p>&nbsp;<p><img src=f.gif width=369
height=135></td>
</tr>
<tr>
<td bgcolor=#8aa6cb width=150 style='border-bottom:1px solid
#FFFFFF'>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr height=20>
<td bgcolor=#8aa6cb width=150>&nbsp;</td>
<td bgcolor=#8aa6cb align=right style='color:white'>
//&nbsp;&nbsp;<a class=g href=search.asp
onclick='this.blur();'>search</a>&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;<a
class=g href=kbsearch.asp onclick='this.blur();'>kb
search</a>&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;<a class=g href=news.asp
onclick='this.blur();'>news</a>&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;<a
class=g href=categories.asp
onclick='this.blur();'>categories</a>&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;<a
class=g href=downloads.asp
onclick='this.blur();'>downloads</a>&nbsp;&nbsp;&nbsp;//&nbsp;&nbsp;<a
class=g href=stats.asp
onclick='this.blur();'>statistics</a>&nbsp;&nbsp;&nbsp;</td>
</tr>
<tr valign=bottom>
<td bgcolor=#8aa6cb width=150 height=60 align=center
style='border-top:1px solid #FFFFFF'><a href='#' style='padding:0px'
onclick='document.donation.submit();return false;'><img
id='ppal'
src=/img/paypal.gif border=0 align=center hspace=10 title='
Help us pay for hosting.
Keep aspfaq.com ad-free! ' alt=' Help us pay for hosting.
Keep aspfaq.com ad-free! ' width=62 height=31 vspace=10></a></td>
<td>




On Tue, 20 Jan 2004 13:25:59 -0500, "Aaron Bertrand - MVP"
<aa***@TRASHaspfaq.com> wrote:
>Uh, not that I can tell.
>
>--
>Aaron Bertrand
>SQL Server MVP
>http://www.aspfaq.com/
>
>
>
>
>"Brynn" <z@z.com> wrote in message
>news:40**************@news.comcast.giganews.com.. .
>>
>> Is there a problem with the home page hanging Aaron?
>>
>> Brynn
>>
>>
>> On Tue, 20 Jan 2004 13:08:01 -0500, "Aaron Bertrand - MVP"
>> <aa***@TRASHaspfaq.com> wrote:
>>
>> >middletree, I've noticed that a lot of your questions are answered in
>very
>> >straightforward articles at www.aspfaq.com. In order to save yourself
>some
>> >time, I might suggest searching there before posting here.
>> >http://www.aspfaq.com/2072
>> >
>> >--
>> >Aaron Bertrand
>> >SQL Server MVP
>> >http://www.aspfaq.com/
>> >
>> >
>> >
>> >
>> >"middletree" <mi********@htomail.com> wrote in message
>> >news:#8**************@tk2msftngp13.phx.gbl...
>> >> How do I request the actual page name that I'm on? This is going togo >> >into
>> >> an include file, and depending on which page I'm on, I'd like to do
>> >> different things. I'm looking for "pagename.asp"
>> >>
>> >>
>> >
>> >
>>
>> Brynn
>> www.coolpier.com
>>
>> I participate in the group to help give examples of code.
>> I do not guarantee the effects of any code posted.
>> Test all code before use!
>
>


Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!



Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!
Jul 19 '05 #15
z@z.com (Brynn) wrote in message news:<40**************@news.comcast.giganews.com>. ..
I KNOW my site is hanging ... LOL ... I just sent a nasty email to my
web host. my code is VERY clean ... but I am looking for a new host
with decent SQL space ... and ability to handle multiple domains in my
subdirectories ... any suggestions :)

Brynn


http://www.Hostingforabuck.net

1 GB of Disk Space (more available if needed)

10 GB of Bandwith

MS FrontPage

CGI, PHP, ASP, SSI, Pop3

10 MySQL Databases(more available if needed)

NO SET UP FEE

$8.00 per month

Custom Packages available as well
Jul 19 '05 #16

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: abbylee26 | last post by:
User enters account number if another account number is needed User clicks add account which creates another row When validating when they hit submit I want to check to make sure they tell us...
6
by: john_williams_800 | last post by:
Hi; I am writing an html page that will live on one server in an ms windows network, but access pictures from a directory on another ms windows server in the network. I know in html the...
4
by: Nick | last post by:
I'm developing an intranet app, and want to get the current user name for logging purposes. I've turned off anonymous access, and turned on windows authentication in the IIS config. The apps...
10
by: Peter Afonin | last post by:
Hello, I have a simple client-side form that is checking the domain availability on the domain registrar's server: <FORM action="https://www.webnames.ru/scripts/RegTimeSRS.pl" method="post">...
1
by: bagya | last post by:
please help me out the following is the small code i have <html> <head> <script type="text/javascript"> function validate() { if (document.abc.region.value==0)
1
by: simbarashe | last post by:
Hie could someone please help me with getting and using the current page url. I have a function that gets the url, I want to use it with header(location : XXX) but it wont work. The code is as...
2
by: rustyc | last post by:
Well, here's my first post in this forum (other than saying 'HI' over in the hi forum ;-) As I said over there: ... for a little side project at home, I'm writing a ham radio web site in...
0
by: buntyindia | last post by:
Hi, I have a very strange problem with my application. I have developed it using Struts. I have a TextBox With Some fixed value in it and on Submit iam passing it to another page. <html:form...
1
by: raghuvendra | last post by:
Hi I have a jsp page with 4 columns: namely Category name , Category order, Input field and a submit button. All these are aligned in a row. And Each Category Name has its corresponding Category...
15
denny1824
by: denny1824 | last post by:
I have a working website. I copied all the files to a new folder in inetpub/wwwroot and then set that folder as a Virtual Directory in IIS. I try going to that site from the new folder and i am...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.