bobsonbemoi Posted April 2, 2007 Share Posted April 2, 2007 I have a windows batch script that I've hosted on an FTP site (ftp://ftp.domainname.com/folder/script.bat). I have a link to it on a webpage. When a visitor clicks on the link the browser gives him the option to save or to run the file. If the user wants to save the file and look at it afterwards, he can. I do not want this to be possible. Is there a way to have the browser directly run the script on the visitor's PC while only giving him the option to run or not (just ask him for his consent) using PHP programming? Thanks for any suggestions! Link to comment https://forums.phpfreaks.com/topic/45298-running-batch-script-on-remote-machine-using-php/ Share on other sites More sharing options...
trq Posted April 2, 2007 Share Posted April 2, 2007 No, you cannot run a remote script on a client PC. Think about what your asking, this would create huge security issues. Link to comment https://forums.phpfreaks.com/topic/45298-running-batch-script-on-remote-machine-using-php/#findComment-219921 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.