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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:34:39
Script start
Timing: Jan 18 2025 19:34:39
Module start 'layout'
Timing: Jan 18 2025 19:34:39
Module start 'content'
Timing: Jan 18 2025 19:34:40
Module end 'content'
Timing: Jan 18 2025 19:34:40
Script end

Main resources:

Total runtime0.7720 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 587.9375152.6250
Module start 'layout' 0.00460.0037 740.562539.4453
Module start 'content' 0.00840.7620 780.0078576.6016
Module end 'content' 0.77040.0016 1,356.609412.1563
Script end 0.7720  1,368.7656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3993160.0002
Check MTime0.00130.1657160.0001
Mysql Total
Database connection0.00060.071910.0006
Mysqli_queries0.720493.3170620.0116
Looping result0.00060.0766600.0000
Template Total0.740996.020.3704
Template load0.00210.272920.0011
Template processing0.738895.693520.3694
Template load and register function0.00020.021110.0002
states
state_id_array0.00100.132410.0010
state_identifier_array0.00080.099920.0004
Override
Cache load0.00180.2268270.0001
Sytem overhead
Fetch class attribute can translate value0.00080.105430.0003
Fetch class attribute name0.00090.118750.0002
XML
Image XML parsing0.00070.097130.0002
class_abstraction
Instantiating content class attribute0.00000.001250.0000
General
dbfile0.00140.1763160.0001
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs