[thelist] java applet to php

Garrett Coakley garrett at polytechnic.co.uk
Mon Oct 22 05:22:01 CDT 2001

On Tue, 23 Oct 2001 07:33:54 +1000, "Minh Tran"
<mm80xx at optushome.com.au> wrote:

> hi guys i got a problem i hope u guys can help me with. I have a menu
> in made in java applet. I would like to be able to click on it and it
> retrieves a php function that was implemented in a php page. 
> does anyone know how to do that???

Anythings's possible *:), but we'll need a few more details. Does the
function get triggered automatically when the page is requested? In
other words:


function hiMum() {
	print("Hello Mum");



If this is the case, then you can just request the page through the java
applet. Web servers rarely care how a url was requested. Do you need to
pass variables to the function, or perhaps retrieve info returned from
the function?

If the function doesn't trigger when the page is requested, then we
could be getting into trickier territory. Are you able to edit the php

As I said, if you can give us some more info then we should be able to
work out something.

G "recovering from a total star wars geek out over the weekend.

WORK: http://spiked.co.uk/
PLAY: http://polytechnic.co.uk/

More information about the thelist mailing list