Home | Advertising Info135 USERS CURRENTLY ONLINE   
   Site Search Contact Us Sunday, November 23, 2014  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 
Try a free httpZip trial now and compress for less!


We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
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


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2014 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com