Re: Capturing File and Virtual output.

From: Date: Tue, 28 Nov 2000 23:14:42 +0000
Subject: Re: Capturing File and Virtual output.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-27720@lists.php.net to get a copy of this message
It wouldn't be efficient, but you could fopen/read the file and use eval(). Maybe you'd be better off looking at PHPLib and other template systems. ----- Original Message ----- From: Roy Nasser <roy@vem.ca> Newsgroups: php.general Sent: Sunday, November 26, 2000 2:26 AM Subject: [PHP] Capturing File and Virtual output. Hi, Is there a way to capture the output that comes from a) a Include or Require statement, and 2) a Virtual statement... I am trying to use Templates, and add some dynamism to the site, so i would like to get the contents of a file into a variable, adnt he pass it to my class, and the same for the Virtual, which would be used by our banner program (the contents of this virtual must also be sent to the class as a variable...) How can i do this efficiently? Thanks Roy Nasser CTO Vem Cá Servicos de Internet S/C Ltda. Av. Paulista 2421 14* Andar São Paulo SP Brasil 55 11 3347 3456 / 9953 8853 - cel www.jarbas.com.br roy@vem.ca -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#27720) next »