Forum Moderators: coopster

Message Too Old, No Replies

Update database program

         

aznbruinboy

6:25 am on Jul 10, 2004 (gmt 0)

10+ Year Member



Hey everyone, i need to design a small program that runs on computers and every few seconds sends a packet to a server, which tells the server information, such as the computer's IP or the time of the day etc. I also need to design a program on the server's side that knows how to accept this information and communicate that information with a PHP file or inserts the information into a mysql database.

E.g. let's say someone isn't at home and wants to check the amount of hd space they have on their computer at home. Since their own computer continually updates the server with information, the person can just log onto the server to check this.

I would relaly appreciate it if someone could tell me how to do this, and which programming language should i use to create the server and client programs? Would it be c++?

How should i get started? Thank you so much guys! Your time and effort is greatly appreciated!

dmorison

11:23 am on Jul 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not a direct answer to your question; but have you come accross "SNMP" - Simple Network Management Protocol?

Its whole purpose in life is delivering snippets of information from clients to servers. Search for SNMP and PHP - plenty of scripts to get started with.

aznbruinboy

3:45 am on Jul 11, 2004 (gmt 0)

10+ Year Member



nope i've never heard of it! But thanks a lot! i'll look it up