So here is what I am trying to do. I have two files: .bat
and .php
run.bat:
set password = ok123
php -f data.php
data.php:
<?php
$pass = %password%;
echo '.$password.'
I need to pass the password from the bat file to the php script. What is the best way to do this?