#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2003
    Location
    Germany
    Posts
    1
    Rep Power
    0

    Question PHP talking to VB


    I need to make a connection from a webserver running php to
    a NT Server running a VB Programm (it has to be VB because
    its using a special VBX).
    The Weberver has to send data to the VB Program and get its
    answer.
    Anybody can advice how to do this?

    Chris
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Apr 2002
    Posts
    693
    Rep Power
    26
    Lots of ways. We chose to do it with tcp sockets. From vb we use the winsock control, from php fsockopen.

    You just need to come up with your own protocol so they can talk. Our's is quite simple, it just passes messages. We use it to convert html pages to .xls files.

IMN logo majestic logo threadwatch logo seochat tools logo