You could use the following if you want the contents of stuff.txt to print
out.
<!
printf('blah, blah, blah');
includeFile("stuff.txt");
printf('blah, blah, blah');
>
Michael Martinez
Carlson Learning Company Technical Support
Phone: 612-212-2811 - Fax: 612-212-2815
Support: mailto:clctechnicalsupport@carlson.com
URL: http://www.carlsonlearning.com
> -----Original Message-----
> From: john_pallozzi@itworld.com [SMTP:john_pallozzi@itworld.com]
> Sent: Wednesday, December 01, 1999 4:01 PM
> To: msql-list@lists.hughes.com.au
> Subject: Include statement inside of a print statement in Lite
>
> Hello,
>
> I am having problems using an include statement and any other cgi
> envirnoment variable inside of a Lite Print statement. The html it prints
> out is simply the environment varibale statement not the value of the
> environment variable. For example the html printed out for <!--#include
> virtual='stuff.txt'--> is:
>
> <!--#include virtual='stuff.txt'-->
>
> instead of what's inside of stuff.txt
>
> The code below is an example of what I am trying to do:
>
> printf( "<form method=get
> action=/cgi-bin/w3-msql/nwfusion/focuscontent23.html>"+
> "<input type='hidden' name='referer' size='12' maxlength='12' value
> ='$referer'>"+
> "<FONT SIZE=4>Please make any changes to your current subscription by
> clicking on the appropriate boxes to subscribe or unsubscribe, and then
> click the submit button below. Please note that changes will take
> approximately 24 hours to process.<br>"+
> "<!--#include virtual='stuff.txt'-->" +
> "<br>"+ ...
>
> Has anyone encountered this and found a way around it?
>
>
> Any help would be greatly appreciated.
>
>
> John P.
>
>
>
>
> -------------------------------------------------------------------------
> To unsubscribe, go to http://www.Hughes.com.au/extras/email/
-------------------------------------------------------------------------
To unsubscribe, go to http://www.Hughes.com.au/extras/email/
This archive was generated by hypermail 2b30 : Mon Mar 04 2002 - 09:04:03 EST