473,378 Members | 1,536 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Newbe: QueryString and SSI

Is there any way at all to do something like this:

<!--

<%

Response.Write(" #include VIRTUAL=" & Request.QueryString("content") &
".inc ")
%>

-->
Or a way around it? The site I'm working on has these little content files
and tons of server side includes. We'd love to be able to pass a
href=thispage.asp?content='thatarticle" where thispage.asp has the line
referenced above. It seems by my testing that as soon as the server sees the
word include - whether or not we're putting together in a variable string..
the server comes back and says 'I could not find the very next character'.

Surely we're missing something silly - or we've taken a wrong approach?

Thanks,
--
Patrick Burgess
May 18 '06 #1
1 1048
Ha! I found the Server.Execute bit last night and was up and running in 15.
Heh. its been awhile since I've done this. :-)

--
Patrick Burgess
"Patrick Burgess" <pa*************@gmail.com> wrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Is there any way at all to do something like this:

<!--

<%

Response.Write(" #include VIRTUAL=" & Request.QueryString("content") &
".inc ")
%>

-->
Or a way around it? The site I'm working on has these little content files
and tons of server side includes. We'd love to be able to pass a
href=thispage.asp?content='thatarticle" where thispage.asp has the line
referenced above. It seems by my testing that as soon as the server sees
the word include - whether or not we're putting together in a variable
string.. the server comes back and says 'I could not find the very next
character'.

Surely we're missing something silly - or we've taken a wrong approach?

Thanks,
--
Patrick Burgess

May 19 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Sebastien GIRAUD | last post by:
Hello, First let say that am french and that i'll try to write the best english i can... I'm a python newbe and have the following problem : I try to create 2 threads in a server program and they...
1
by: Ron | last post by:
Is this built into any of the python versions? Need it! Using 2.3.5 and doesn't seem to have it.Newbe needs help!email ron@nac.net Thanks Ron
7
by: Jean Pierre Daviau | last post by:
Hi, <script language="javascript" type="text/javascript"> if(navigator.appName.indexOf("Netscape") != -1){ document.writeln('<link rel="stylesheet" href="~styles/aquarelle_ns.css"...
9
by: Yaro | last post by:
Hello DB2/NT 8.1.3 Sorry for stupid questions. I am newbe in DB2. 1. How can I read *.sql script (with table and function definitions) into a database? Tool, command... 2. In Project Center...
12
by: Alex | last post by:
I have a question about determining if one QueryString keys exists. The idea is, if this key exists, than its presence is enough to indicate that its value is true. For example ... ...
1
by: Jim | last post by:
I have created a windows form that contains several tab pages which contain a panels. On a tab page I am trying to dynamically create a series of buttons in that pages panel. I am failing because...
4
by: EDOnLine | last post by:
We have a page which, after inserting a record ID to our database via stored proceedure, redirects the user to a URL on a thrid party site which as passed to that page via QueryString. In other...
17
by: Eric_Dexter | last post by:
def simplecsdtoorc(filename): file = open(filename,"r") alllines = file.read_until("</CsInstruments>") pattern1 = re.compile("</") orcfilename = filename + "orc" for line in alllines: if not...
3
by: pingsheng | last post by:
Dear all, I have a form with dynamically created input fields. These fields go to next page for submitting into SQL database. The thing is all fields are the same but 4 fields. So each record...
1
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...
0
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
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...
0
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,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.