Page 1 of 1

can i send and recive data that is sent from php to java app

Posted: Thu Nov 27, 2003 4:19 pm
by pelegk2
can i send and recive data that is sent from php to java application and recived from?
thanks in advance
peleg

Posted: Thu Nov 27, 2003 5:27 pm
by infolock
edit : thnx weirdan. just saw java and automatically thought javascript :P

anyways, i don't know if it's possible to call a php script from java, but i know you can call java from php... some interesting articles on how to call java from php are :

Using Java objects in PHP scripts
http://www.zend.com/zend/spotlight/java ... p#Heading3

Using PHP with Java
http://www.devshed.com/Server_Side/PHP/ ... page1.html


unfortunately, i didn't find any methods of calling php from java.

Posted: Thu Nov 27, 2003 6:43 pm
by Weirdan
2pelegk2
Are you talking about Java or JavaScript? Please clarify.

2Infolock
Didn't you ever heard about Java which isn't JS? ;)

i wrote java didnt i:):)

Posted: Fri Nov 28, 2003 10:14 am
by pelegk2
and yes i mean java and not javascript!

Posted: Fri Nov 28, 2003 10:25 am
by Weirdan
I have found this link:
That site experiencing db troubles in meantime.

Posted: Fri Nov 28, 2003 10:25 am
by infolock
yeah, is why i updated the post to reflect java objects :P

again, i know you can call from java to php, but i'm unsure if java has a feature that allows you to call php variables. the above links, though, show you how to call java variables/functions from within php. maybe a java guru will enlighten us on how to call php