Run local executable from a remote PHP application

193 views Asked by At

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.

1

There are 1 answers

1
Lal krishnan S L On

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