资 源 简 介
rdp.php: A PHP file that will generate a .rdp file (which is just text) and redirect the visitor to the .rdp download for the user to launch an rdp session.
Lots of options. If there are options you would like added let me know. Here is a good RDP option list:
https://helpforsure.wordpress.com/2011/01/23/rdp-settings-for-remote-desktop-connection-version-7%E2%80%8F/
This is being used in production. It is possibly not ready for your own deployment, but it works in mine! Tested in Linux on CentOS 5.6 x86_64, it should work in any OS"s PHP. There"s really nothing special about the php code.
There are NO security measures in this, but I don"t really see any use for them either. Use at your own risk!
Example usage:
https://www.whatevs.tld/rdp.php?autoconnect=1&fulladdress=192.168.0.100&desktopwidth=1024&desktopheight=768&screenmodeid=1&name=THISISTHERESULTINGRDPFILE_FILENAME&