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.
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
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.