Re: Including files...

2002-10-23 Thread Josh Chamas
Robert Bagley wrote: > $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

Re: Including files...

2002-10-23 Thread Robert Bagley
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->Inclu

Including files...

2002-10-23 Thread y
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. 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

Re: Including files dynamically

2002-10-18 Thread Josh Chamas
y wrote: Hi, I want to include a file, in the same way like: So it could become a part of the script (i.e: use the same variables, etc.). This syntax should work, doesn't it? Regards, Josh Josh Chamas, Founder

Including files dynamically

2002-10-18 Thread y
Hi, I want to include a file, in the same way like: So it could become a part of the script (i.e: use the same variables, etc.). require doesn't work, of course, and $Response->Include() isn't what I'm looking for either... The file I'm trying to include is in Apache::ASP format too, so I can'

Including files dynamically

2002-10-18 Thread y
Sorry, I forgot to mention the most important part: I get the file name from the database. So I want to include $FileName, for example. I mentioned it in the subject, but forgot to write about it :) Thanks a lot. -- Yuval