Forums / Developer / Extension to manipulate an external php application

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Extension to manipulate an external php application

Author Message

Salvatore Guarino

Monday 17 September 2007 2:35:23 am

Hi, I have an external php application, a product configurator engine with a form to compile that returns a table with product components. I integrated this engine in my Exponential site using an <iframe> tag, but this isn't a very good solution. I need an Exponential extension that dialogues with my form application, sending variables to the form and receiving html code to display trough Exponential engine. There is a simple way to do it, or (better) there is something, maybe a contrib extension, that can do it?

Thx,

Salvatore

Lazaro Ferreira

Monday 17 September 2007 4:21:43 am

Hi

Have you considered using php CURL ?

http://www.php.net/curl

You can create an extension to call CURL functions , it lets you past post parameters and received you application ouput ( HTML code ) as a result

Lazaro
http://www.mzbusiness.com

Peter Putzer

Monday 17 September 2007 7:09:12 am

Have a look at my SpreadShirt extension (http://ez.no/community/contribs/template_plugins/spreadshirt ), it does something similar.If you are accessing a local script, things are even easier.

The general idea would be to write a custom extension providing either a template operator or a fetch function (or both), allowing you to embed the desired functionality inside a standard Exponential template.

Accessible website starting from eZ publish 3.0 (currently: 4.1.0): http://pluspunkt.at