Re: Passing data into the PHP Bric Burner

[email protected] (George Schlossnagle) Tue, 24 May 2005 17:24:48 -0400
Newsgroups perl.php.sandwich.dev
Message-ID <[email protected]>
On May 24, 2005, at 5:18 PM, David Wheeler wrote:

> On May 24, 2005, at 07:05 , George Schlossnagle wrote:
>
>
>> The other option is to do this:
>>
>>
>> $php = PHP::Interpreter->new({ GET => { ... }, POST => { ... },  
>> COOKIE => { ... });
>> $php->include($file, BRIC => { ... });
>>
>
> That's less like how PHP itself works, though, yes?

A bit, but the question is whether or not you want to pass different  
'BRIC' args to different PHP files inside a single call to burn_one 
().  If so, the above works nicer.  This is a bit different than how  
PHP works, but not radically, magically different.

George