Hi,

I still can't include files the way I wanted to;
I have a scalar, with a filename. I want to include that file, which is in written in Apache::ASP format.

<!--#include file=file.inc--> works, but it doesn't help much since the file name is in a scalar.

$Response->Include() works too, but doesn't help since it runs the script, and returns the output. Also, the file I want to include should have access to the variables.

The weird thing is: this works:
<% if ($File) { %>
<!--#include file=file.inc-->
<% } %>

Yet these don't:
<!--#include file=$File-->
<!--#include file=<%=$File%>-->

Have I missed anything? Is there a way to do it?


Thanks,
-- Yuval


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to