Forums / Developer / How to execute php code in an applet?

How to execute php code in an applet?

Author Message

Günther Lackner

Wednesday 13 July 2005 2:43:49 am

Hi!

I need to execute some php code on a eZ page. I createtd an applet an inserted ma php code there. But wehen I later click on it, nothing happens.

Could please somebody help me?

LAcky

Ralph Ekekihl

Wednesday 13 July 2005 3:39:16 am

Hi..

What do you men with applet? Do you mean Java applet?
You cannot put php code in a java applet..

Are you trying to insert PHP code in a template file? Or are you creating a new php file, dont understand from your question?

Regards,
Ralph

Contactivity B.V.
http://www.contactivity.com

Günther Lackner

Wednesday 13 July 2005 5:46:01 am

Hi!

I am pretty new and unexperienced with ez.p.
The thing I need to do is to use a Webbased News (NNTP) Client on our website.

The NewsClient is completely written in php.

I just need a page which fits in the rest of our site. Means the design, main menu and stuff should be the same as on all other pages...

best regards
lacky

Mikael Johansson

Thursday 14 July 2005 5:32:04 am

You could write an extension that just includes the php files of the NNTP client.

Documentation on how to write an extension modue:
http://ez.no/ez_publish/documentation/development/extensions/building_an_ez_publish_module

Mikael Johansson, Sweden