Click to See Complete Forum and Search --> : Need PHP Script to connect to a VB6 App using an IP address
Electroman
Feb 24th, 2007, 04:17 AM
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.
high6
Feb 24th, 2007, 12:39 PM
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
Electroman
Feb 24th, 2007, 01:07 PM
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.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.