PHP, MySQL and Java
807569Jun 20 2006 — edited Jun 20 2006So, about a week ago I was put in charge of taking over programing my company's server. I have a decent amount of experience programming stand alone, none web, applications, but none with applets and very little with web stuff. Anyway, here is what we have going on...
Our server is a windows server (sadly I did not make that decision). We use a Http class to handle our connection to another server that sends packages to this one. Packets are received via socket connection and stored in a MySQL database. The user/administrative interface is done through PHP which reads and writes stuff to the database.
enough background, here are my questions...
1. I figured out that I can use a Statement Class to write to the database, but how would I read it? Do I need to implement the SQLInput interface, or is there some simpler way to query SQL data?
2. Our PHP programmer wants me to make a program that sends a packet to the other server. That much I can do (assuming I can read the MySQL database). Is there anything I need to do so that my program (preferably an application) can be executed by his PHP stuff?
3. I will also need to be able to execute a PHP program that our PHP guy wrote, how can I do that?