is it possible to send messages in a lan network using php?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • impin
    New Member
    • Jul 2010
    • 127

    is it possible to send messages in a lan network using php?

    admin has to send messages to the users who are all in the network in a local area network. is it possible in php?

    plz help.
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    There's nothing, AFAIK, in PHP specifically for this. You can however just use exec() or something like to make a system-call to do the sending.

    Comment

    • johny10151981
      Top Contributor
      • Jan 2010
      • 1059

      #3
      how do you define "all in the local area"?

      what kind of software they would use to receive to receive message from admin

      Or are simply trying to talk about email system?

      If you simply think about chatting using web application this is very much possible and widely used in lots of well known websites. Implemented using AJAX.

      I have never implemented any chatting software using website.

      As you know, webserver never send any request to client by himself. So if you wanna implement a chatting software, you can follow this

      sending the sender message to the server. using ajax
      Saving the message to database.

      to read the message:
      Other client will frequently send request to see if there is any new message for the client. if there is any new message server will reply along with the message. and the transferred message will noted as read in the database so that server dont send that message to client again.

      And finally clearly say what you need.

      Comment

      • Markus
        Recognized Expert Expert
        • Jun 2007
        • 6092

        #4
        Local area = Local Area Network (LAN).

        Comment

        Working...