Code Bank
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingCode Bank

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old August 4th, 2004, 02:51 PM
ademkiv ademkiv is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 1 ademkiv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question cannot include file

Hi,
I am new to this, so please help me.
I have installed news management system on the server, and now i'm trying to include news.asp in my index.asp. News.asp is located in news/news.asp and index.asp is in the main directory. When I use simple include string
<!--#include file="news\news.asp"-->

, I get message saying: option explicit. I don't know what to do. I went to many websites trying to get some kind of solution to this, but all i get is a frustration.

maybe you can help me

Reply With Quote
  #2  
Old August 4th, 2004, 04:59 PM
bamboo bamboo is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 168 bamboo User rank is Private First Class (20 - 50 Reputation Level)bamboo User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Does news.asp include all the standard html and asp header stuff?
For example does it have"option explicit", <html>, <title>, etc.. . If so, take all the stuff out. Just put your code in news.asp. Which can be html code, asp code, whatever.

Cheers,
Mike

Reply With Quote
  #3  
Old August 5th, 2004, 11:12 AM
rptasiuk rptasiuk is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 26 rptasiuk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 29 sec
Reputation Power: 0
You are using the backslash, you want the forward.
<!--#include file="news\news.asp"-->
Change it to:
<!--#include file="news/news.asp"-->

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingCode Bank > cannot include file


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway