Re: [PHP] Using PHP with JAVA

2003-10-24 Thread Ray Hunter
Yeah, http://gtk.php.net Also they have a mailing list that you can join and get help from those experienced users. HTH -- Ray On Fri, 2003-10-24 at 13:26, Matt Palermo wrote: > I don't know much about that, but it definitely sounds better, escpecially > since it's still PHP based. Do you k

Re: [PHP] Using PHP with JAVA

2003-10-24 Thread Matt Palermo
I don't know much about that, but it definitely sounds better, escpecially since it's still PHP based. Do you know of any websites or tutorials I can go to to learn more about it? It sounds like a much better option. Thanks, Matt "Ray Hunter" <[EMAIL PROTECTED]> wrote in message news:[EMAIL P

Re: [PHP] Using PHP with JAVA

2003-10-24 Thread Ray Hunter
Also, I would like to point out that you could possibly use php-gtk to do some gui applications. Since it has a windows and *nix port you can use that too. I have built a couple of apps with it that pull snmp data from routers with it that worked great. I also used a java installer to install the r

Re: [PHP] Using PHP with JAVA

2003-10-24 Thread Raditha Dissanayake
hi, Great to hear that PHP is your language of choice. There are several SOAP libraries available and they come with good docs. However if you are building an image gallery type application, you will be able to do mos of the work just by using java.net package has has been pointed out. all the

Re: [PHP] Using PHP with JAVA

2003-10-24 Thread Matt Palermo
I don't neccessarily WANT to mix the 2 languages. I just have an application on my webserver that uses MySQL databases and the script is all written in PHP (which I am pretty good at). The only reason I want to use JAVA is so a user can download and install a program that I write (since JAVA is p

Re: [PHP] Using PHP with JAVA

2003-10-24 Thread Raditha Dissanayake
Hi, For this scenario, Ray's suggestion of SOAP is IMHO the best option. But just out of curiosity why do you want to mix the two languages? If you are familiar with java you might be better off doing your server side stuff using J2EE. Then you might be able to use Object Streams for your commu

Re: [PHP] Using PHP with JAVA

2003-10-24 Thread Ray Hunter
Sorry, i forgot to mention the package that you might really want to review... java.net is the java package that provides all these classes, like URLConnection and Sockets as mentioned by another person. -- Ray On Fri, 2003-10-24 at 08:24, Ray Hunter wrote: > You have various options and it de

Re: [PHP] Using PHP with JAVA

2003-10-24 Thread Ray Hunter
You have various options and it depends on how you want to accomplish it and what you are familiar with. Java has many capabilities of doing network io (class HttpUrlConnect). You can contact your php page on your server and pull down the information (similar to what a browser does). Another alt

RE: [PHP] Using PHP with JAVA

2003-10-24 Thread Gregory Kornblum
For this you will want to use a standard socket to port 80 with "GET yourscript.php?var=foo HTTP/1.0\r\n\r\n" in the send method and the recieve method will return the results. They have higher level APIs for HTTP but this is my preference. You should easily be able to find examples on using socket