Quoting y <[EMAIL PROTECTED]>: > 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. >
If the file you're including is written for Apache::ASP, then why wouldn't $Response->Include() achieve what you're after? > <!--#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. Josh can correct me if I'm wrong, but I've always understood that <!--#include - -> is just a wrapper around $Response->Include(). So, they should do the same thing... Can you modify the file you're including so the the ouput (as returned by $Response->Include()) is what you're after? > Also, the file I want to include should have access to the variables. I've never tried, but I'm not sure that the variable scope extends into the included files. I've always passed the variables as arguments to the $Response- >Include() or stored them in the Session. Robert --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
