Yes. If the php script is on a website you'd need sockets to send an HTTP request to the server. If the script is local on your machine it will be just like calling any executable and getting results back (in this case you'd be running the php interpreter, php.exe). There are many ways to do the latter, the simplest being to redirect the script output to a file (php myscript.php > file.txt) and then read it. Other options are to use a dll/com object to directly read and write from the process but this needs a COM or DLL script. There's a COM script called STDCatcher and a dll called exec.dll if that's what you're looking for.