Hey,
I need to have a template ASP page that can dynamically include
another file depending on that I call in the address. I have yet to
make this work.
Here is a sample of what I thought would work but didn't
Address: http://server/Template.asp?datatodisplay=welcome
<!-- #include file="<% =REQUEST("datat odisplay") %>.inc" -->
I don't want to create a select case statement because this will we
working with server al hungered files.
Anybody have any suggestion?
Thanks
NG
x-- 100 Proof News - http://www.100ProofNews.com
x-- 3,500+ Binary NewsGroups, and over 90,000 other groups
x-- Access to over 800 Gigs/Day - $8.95/Month
x-- UNLIMITED DOWNLOAD 2 2140 http://www.aspfaq.com/2042
"N. Graves" <ng*****@yahoo. com> wrote in message
news:vm******** *************** *********@4ax.c om... Hey, I need to have a template ASP page that can dynamically include another file depending on that I call in the address. I have yet to make this work.
Here is a sample of what I thought would work but didn't
Address: http://server/Template.asp?datatodisplay=welcome
<!-- #include file="<% =REQUEST("datat odisplay") %>.inc" -->
I don't want to create a select case statement because this will we working with server al hungered files.
Anybody have any suggestion?
Thanks
NG x-- 100 Proof News - http://www.100ProofNews.com x-- 3,500+ Binary NewsGroups, and over 90,000 other groups x-- Access to over 800 Gigs/Day - $8.95/Month x-- UNLIMITED DOWNLOAD
Thanks you so much for this link. I will go test it now.
On Thu, 6 Nov 2003 16:00:29 -0500, "Aaron Bertrand - MVP"
<aa***@TRASHasp faq.com> wrote: http://www.aspfaq.com/2042
"N. Graves" <ng*****@yahoo. com> wrote in message news:vm******* *************** **********@4ax. com... Hey, I need to have a template ASP page that can dynamically include another file depending on that I call in the address. I have yet to make this work.
Here is a sample of what I thought would work but didn't
Address: http://server/Template.asp?datatodisplay=welcome
<!-- #include file="<% =REQUEST("datat odisplay") %>.inc" -->
I don't want to create a select case statement because this will we working with server al hungered files.
Anybody have any suggestion?
Thanks
NG x-- 100 Proof News - http://www.100ProofNews.com x-- 3,500+ Binary NewsGroups, and over 90,000 other groups x-- Access to over 800 Gigs/Day - $8.95/Month x-- UNLIMITED DOWNLOAD
x-- 100 Proof News - http://www.100ProofNews.com
x-- 3,500+ Binary NewsGroups, and over 90,000 other groups
x-- Access to over 800 Gigs/Day - $8.95/Month
x-- UNLIMITED DOWNLOAD This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: steve |
last post by:
I am quite frustrated with php’s include, as I have spent a ton of
time on it already... anyone can tell me why it was designed like this
(or something I don’t get)?
The path in include is relative NOT to the immediate script that is
including it, but is relative to the top-level calling script.
In practice, this means that you have to constantly worry and adjust
paths in includes, based on the startup scripts that call these...
|
by: Miguel Orrego |
last post by:
Hi,
Is there any way of having an include file as a string, eg:
<!--#include file="<%=strURL%>"-->
This doesn't seem to work, I get an error:
The include file '<%=strURL%>' was not found
|
by: Wilk Teverbaugh |
last post by:
I've got an include file inside each page throughout my site. Inside this
include file I'm running server.execute to include other pages based on a
condition (userID).
The problem has two parts-
1) The CPU usage jumps up to 100%
2) The path for these include files is different according to the file that
is calling server.execute, resulting in an invalid path
|
by: Adam |
last post by:
Hi All,
Is it possible to use includes dynamically in html.
Hopefully the following example will give an idea what I am rying to do.
Thanks in advance
Adam
<script language="javascript">
|
by: michaaal |
last post by:
I have two folders in my website...
Folder1 (this is where my #include file is, this is where the style.css is)
--Folder2
(Folder2 is inside of Folder1)
Folder2 contains a file that has this #include statement...
<!--#include file="../include.inc"-->
| |
by: wukexin |
last post by:
Help me, good men. I find mang books that introduce bit "mang header
files",they talk too bit,in fact it is my too fool, I don't learn it, I have
do a test program, but I have no correct doing result in any way. Who can
help me, I thank you very very much.
list.cpp(main program)
//--------------------------------------------------------------------------
-
#pragma hdrstop
#pragma argsused
|
by: Susan Baker |
last post by:
Hi,
I am (trying) to compile some code I downloaded from the internet. The
sources contain references to header files - using the form :
#include <pathname/file>
If I change the form to this:
#include "pathname/file"
|
by: Eric |
last post by:
Hello,
I have some server side includes on a Classic asp page that look
something like:
<!-- #include virtual="/includes/file1.asp"-->
<!-- #include virtual="/includes/file2.asp" -->
<!-- #include virtual="/includes/file3.asp" -->
<!-- #include virtual="/includes/file4.asp" -->
<!-- #include virtual="/includes/file5.asp" -->
|
by: PI |
last post by:
Hi guys, I need some urgent help here please:
I am using an include_once() command to include a file that sits a
level above the file view.php. when the code is run, I have an error
as follows:
Warning: include_once(../common.php) : failed
to open stream: No such file or directory in C:\Program Files\..
\view.php on line 2
Warning: include_once() : Failed opening '../
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |