If I open a raw socket to a server, is it possible to pass variables to a PHP script, run it, and then read the results off the socket? I know how to open the socket and read anything coming back down the stream, but I don't know how I would go about running a PHP script without opening a browser. Any help? My goal is to make MySQL queries with a program that can open raw sockets. Using PHP to do it sounded easier, but I would even go for a dll solution or something. Any thoughts?
-Drew