dcsimg
Results 1 to 3 of 3

Thread: Need PHP Script to connect to a VB6 App using an IP address

  1. #1

    Thread Starter
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349

    Need PHP Script to connect to a VB6 App using an IP address

    Title kinda says it all but how can I get a PHP Script to connect to a VB6 App using the IP address of the PC running the VB6 app.
    I was told how to do this over a year ago prob 2 years ago but now I've come to use it I can't even remember the name of what its called so having trouble searching for it lol.
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

  2. #2
    Frenzied Member
    Join Date
    Sep 2005
    Posts
    1,547

    Re: Need PHP Script to connect to a VB6 App using an IP address

    Quote Originally Posted by Electroman
    Title kinda says it all but how can I get a PHP Script to connect to a VB6 App using the IP address of the PC running the VB6 app.
    I was told how to do this over a year ago prob 2 years ago but now I've come to use it I can't even remember the name of what its called so having trouble searching for it lol.
    $ircsocket = fsockopen ($server, $port) ; // server,port
    fputs ($ircsocket, "packet"); //socket,packet
    $incoming = fgets ($ircsocket, 1024); //socket,size to get

  3. #3

    Thread Starter
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349

    Re: Need PHP Script to connect to a VB6 App using an IP address

    Cheers mate I'll give it a go. Wasn't what I had in mind but looks like it might just do the trick.

    Think it was something to do with feeds the other way.
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width