Forums / Developer / How to execute PHP code from Ez

How to execute PHP code from Ez

Author Message

Luis M

Thursday 25 January 2007 10:24:03 am

Hi,

This is probably a very dummy question, and probably with a very quick answer :-)

I looked the Ez Components, and about PHP frameworks.

So, how can I pass variables to a PHP script outside the Ez Publish, and return other variables?
example, If I have a Postgres Database for some kind of different applicatrion, how can I do the SQL statements, and return the output data to the template?

Thanks,

Ɓukasz Serwatka

Thursday 25 January 2007 11:40:32 pm

Hi,

You can make an extensnion:
http://ez.no/ezpublish/documentation/development

Look on this topic for more information about connection to external database:
http://ez.no/community/forum/developer/using_external_db_in_extension_causes_problems

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog