Using batch code in php -


is possible make php code on webpage send out code visitor run? like:

<?php batch("echo text"); ?> 

then open cmd window says text. if not work in php work in launge?

php runs on server , has no magical control on happens on else's computer. once page has loaded send requester's browser.

from there have access local storage/cookies/etc., browser provides you. if browser give website access cmd, mean website read pretty on anyone's computer, or harm in many other ways. can imagine not secure.

the way can execute batch commands on someone's computer if or program have access computer. in other words, user must download batch/.exe file , run manually.


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -