Adriano Smith wrote:
> If a php file is called in the pipeline as a generator will the file be
> compiled or just displayed as it is? is it possible to mention somwhwre
> that the php is to be compiled and executed. i wish to call a php file
> thro cocoon pipleline. if it is called normally outside cocoon it
> compiles. 

2 scenarios AFAIU

1) you access the php through your local filesystem ie
<map:generate src="/path/to/my.php"/>

In this case your php won't be executed ofcourse and cocoon retrieves
the contents of your php file (ie the script itself)

2) you access it through a php-enabled webserver ie
<map:generate src="http://php.server/my.php"/>

In this case your php script will be executed and cocoon retrieves the
*output* of the script into the pipeline.


HTH
Jorg


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to