This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Hi I am trying to build an application that calls on a php script.I do not want to use an applet. I can obtain the URl by using java.net and creating a URL object. What i really want to do is use a java application that stores information. Then calls a php script to execute, do all the web stuff and return values to my java application. The php stuff needs to be hidden from, view, can anyone advise me on this? [ December 14, 2004: Message edited by: Melanie Walsh ]
First, welcome to the Java Ranch. Second, you say you don't want to use an applet, yet you post in the Applet forum. Interesting. . . Third, you are going down the right track. It is very common to have an application request information from a URL, maybe even POSTing data for the cgi-servlet-php to work on. The buzz word for such a thing is a "web service". There's a chapter in the Java Tutorial on Working with URL's that may be useful.
Thanks Joe, will have a read through. It was my first posting and i mistakenly posted in this section then was unable to move. Have been reading up on web services thanks for your input was worried i was barking up the wrong tree.
No worries. For future reference, you can delete your own posts. Click on the edit icon (looks like a pencil and paper at the top of your post, same line as the date and time). On the edit page there's a "Delete Post" checkbox.