|
|
|
|
|
| | |
|
Active Server Pages ASP control controls class classes module script Scripts applet CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Urgent help! What am I doing wrong? |
From: |
george |
Date: |
11/18/1999 1:27:24 PM |
IP: |
193.128.139.225 |
I have an archive with html pages. I was using frames before and this archive was being droped into the frameset!
Now Ive redesigned the web site and I want to make that archive to be available with the new design. Im using the index server for searching my web site. When the results from the search are returned if its an archive html page then I want to make the archive pages to be displayed in the new template. Im trying to use SSI to include the pages that are under the archive directory and Im not getting any results! This is the code:
<%
call format(vpath)
%>
<html>
<head>
<title>test</title>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td>my new template</td>
<td><% =strInclude %></td>
<tr>
</table>
</body>
</html>
<%
sub format(vpath)
dim strinclude
dim searchtext
searchtext = "content/archive"
strInclude = " "
vpath = Request.QueryString("url")
if instr(vpath, searchtext) <> 0 then
strInclude = vpath
Else
Response.redirect (vpath)
end if
end sub
%>
-----
What am I doing wrong????
Thanks
George |
Follow Up - Re: Urgent help! What am I doing wrong? - ungos 11/21/1999 7:13:16 PM
|
|

|
|
|
|
|
|
|
|
|
|