简体   繁体   中英

Run local executable from a remote PHP application

in a php webapp of mine, I would need to launch the local scanner executable in order to store the scanned page in a remote folder of the webapp.

I was wondering how I can call the exe from the remote server as the exec php command runs programs on the same machine of the php.

Any clue? The aim is just to start th GUI of the scanner program, then the operator does the rest (scan, save, upload to remote folder with drag and drop html5 interface - unless you have suggestions even on this matter).

I have googled around, but honestly, i haven't fully understood the ssh2 methods, the shells and so on...

Any help is highly appreciated. Thank you very much.

May be php ftp class can save you. The ftp class allows to access, retrieve and manage remote host files. without using ssh.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM