Open files from a remote computer, even within a VM
A sexy triplet of php files that can be used to open a file on one computer using another (such as from within a VM) .. SICK RIGHT?!
Requirements for main computer:
- apache/php with OmniFile_Listener.php available, but apache MUST be running from commandline not wamp or watever. to do so, just have c:\wamp\bin\apache\httpd.exe running
Requirements for remote computer:
- PHP installed and available from commandline
- Must be able to access the apache server on the main computer (it is possible from within a VM!)
- desired filetypes set to 'open with' OmniFile_Opener.bat
Requirements for these files:
- Put OmniFile_Listener.php on the main computer, and the others on the remote computer.
- Check/Set the variables in all three files.
How it works:
-
Remote computer double clicks file in the main \computer, which is set to 'open with' the batch file OmniFile_Opener.bat
-
The batch file runs a php script (OmniFile_Sender.php)
-
The main computer has a listener (OmniFile_Listener.php) which is invoked and opens the given filename