Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

included files

Status
Not open for further replies.

TruthInSatire

Programmer
Aug 12, 2002
2,964
US
can you assign an included file to a variable? if so how?
thanks. How many software developers does it take to change a light bulb?
None: it works in everyone else’s office, it must work in yours too.
 
What are you trying to do, include a file with a variable or assign a file name to a variable?
 
i was just wondering if it were possable to
do something like:
variableOne = includedPageOne
(includedPageOne would be for example a counter script. it adds one to the hit counter then has the number of hits.)
then to display the number of hits something like a
response.write(variableOne)

I know it wouldn't work like that but something similar? How many software developers does it take to change a light bulb?
None: it works in everyone else’s office, it must work in yours too.
 
includes are done before the code, simple reason why they can't be a variable. but the server.execute method will allow you to dump a page in if and when needed...
 
makes sence. thanks. How many software developers does it take to change a light bulb?
None: it works in everyone else’s office, it must work in yours too.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top