When writing ASP pages that have include pages, is best to make the include
pages as txt, asp, inc??? which format would be the most efficient.
the include pages wouldn't contain any asp script, all html.
thanks
jeff 4 1212
"Jeff" <gi*****@adelphia.net> wrote: When writing ASP pages that have include pages, is best to make the include pages as txt, asp, inc??? which format would be the most efficient.
You mean what extension should you use? There's certainly no
difference in efficiency. "inc" makes it clear to the maintainer (you)
that this file is intended to be included. "html" would make it clear
that the file contains HTML.
Pick whatever helps you to remember how your site works.
--
Tim Slattery
MS MVP(DTS) Sl********@bls.gov
Jeff wrote: When writing ASP pages that have include pages, is best to make the include pages as txt, asp, inc??? which format would be the most efficient.
the include pages wouldn't contain any asp script, all html. thanks jeff
No efficiency gains, but unless you go into your website configuration and
change the mappings, a person will be able to download that inc or txt file
by browsing to it. Using a .asp extension will prevent it from being
downloaded
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Ok. up to this point, i have been using .asp i just got to thinking today,
as someone asked me about making an include page that contained the DB
connection.
thanks for the replies.
Jeff
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:um*************@TK2MSFTNGP14.phx.gbl... Jeff wrote: When writing ASP pages that have include pages, is best to make the include pages as txt, asp, inc??? which format would be the most efficient.
the include pages wouldn't contain any asp script, all html. thanks jeff No efficiency gains, but unless you go into your website configuration and change the mappings, a person will be able to download that inc or txt file by browsing to it. Using a .asp extension will prevent it from being downloaded
-- Microsoft MVP -- ASP/ASP.NET Please reply to the newsgroup. The email account listed in my From header is my spam trap, so I don't check it very often. You will get a quicker response by posting to the newsgroup.
Jeff wrote: "Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message news:um*************@TK2MSFTNGP14.phx.gbl... Jeff wrote: When writing ASP pages that have include pages, is best to make the include pages as txt, asp, inc??? which format would be the most efficient.
the include pages wouldn't contain any asp script, all html. thanks jeff No efficiency gains, but unless you go into your website configuration and change the mappings, a person will be able to download that inc or txt file by browsing to it. Using a .asp extension will prevent it from being downloaded
-- Microsoft MVP -- ASP/ASP.NET Please reply to the newsgroup. The email account listed in my From header is my spam trap, so I don't check it very often. You will get a quicker response by posting to the newsgroup.
Ok. up to this point, i have been using .asp i just got to thinking today, as someone asked me about making an include page that contained the DB connection.
thanks for the replies. Jeff
I ALWAYS put db connection includes in an .asp file. I might be able
to persuade the current hosting company that I use to change mappings
for inc files, but I can't be guranteed that the next hosting company
will comply if I ever have to move hosts.
/P. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Tim Tyler |
last post by:
A fairly simple question:
I have a library A which depends on library B and C.
Currently I have:
<?php
include("A.inc.php");
include("B.inc.php");
include("C.inc.php");
|
by: Joe Mowry |
last post by:
First off, I'm posting this question for a friend that doesn't have
access to the news groups.
Problem:
Using PHP as the base and has several PHP < includes > for various
functions, all this...
|
by: Patrick |
last post by:
I have an ASP site with about 50 ASP files, all of which are currently
including a common "includes.asp" file near the top of the file, responsible
for generating the <HEAD/> section of the HTML
...
|
by: Generic Usenet Account |
last post by:
I am seeing some unexpected behavior while using the STL "includes"
algorithm. I am not sure if this is a bug with the template header
files in our STL distribution, or if this is how it should...
|
by: David Muoio |
last post by:
I am trying to validate an XML file against an XSD that is stored in the
assembly as an embedded resource. I can get it to work as long as the XSD
does not include other XSDs. After a fair amount...
|
by: tshad |
last post by:
I am not sure why I am getting this error:
I have the following code I want to run from another include file that holds
all my functions.
functions.inc...
|
by: William F. Zachmann |
last post by:
We've got a project going that involves moving an old web site with a
massive dll written in C++ that produces most of the output from a SQL 7.0
data base on NT4 onto IIS on Windows 2003 Server...
|
by: Jeff |
last post by:
I have an asp page. Now I know this is sortof OT, but I am not sure of the
forum to get an answer.
I have an include on this asp page
<!-- #include file=\forum\includes\consts-inc.asp -->
...
|
by: Ron |
last post by:
Hi all,
Trying to work out a few problems in using php on my site. Partially
this is a html question. I was reading a lot of the posts and it seems
that some of the includes people are using are...
|
by: JRough |
last post by:
I have includes at the top of the file and I have inline includes also
includes in mysql queries. For example:
include './includes/config.inc.php';
include $include_path.'dates.inc.php';...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |