Re: Was: Putting Evaluated Contents...

From: Date: Mon, 28 Feb 2005 01:03:10 +0000
Subject: Re: Was: Putting Evaluated Contents...
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-209560@lists.php.net to get a copy of this message
Brian A. Anderson wrote:
Hey, Now, how about taking that variable and executing it? How might one do this? For instance: I might have an asp page on one server(Yeah, I have to use asp on that server) generate the results in the form of a bit of php code, and pass it to my php script via include method for execution. When the php page gets the results I could execute this? Would I have to put the ob_start()... ob_get_clean(); within a function? How would I execute it? I am thinking of this way as my php pages use a templating system, and I would like to take the data from the asp results and shoot them into my template object for rendering.
include('http://winserver/page.asp'); will execute php code generated by asp

« previous php.general (#209560) next »