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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
pelegk2
Forum Regular
Posts: 633
Joined: Thu Nov 27, 2003 5:02 am
Location: Israel - the best place to live in after heaven
Contact:

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

Post by pelegk2 »

can i send and recive data that is sent from php to java application and recived from?
thanks in advance
peleg
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post 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.
Last edited by infolock on Thu Nov 27, 2003 8:21 pm, edited 2 times in total.
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

2pelegk2
Are you talking about Java or JavaScript? Please clarify.

2Infolock
Didn't you ever heard about Java which isn't JS? ;)
User avatar
pelegk2
Forum Regular
Posts: 633
Joined: Thu Nov 27, 2003 5:02 am
Location: Israel - the best place to live in after heaven
Contact:

i wrote java didnt i:):)

Post by pelegk2 »

and yes i mean java and not javascript!
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

I have found this link:
That site experiencing db troubles in meantime.
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post 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
Post Reply