hi!
i want to execute php scripts in command line. I want to learn how i can send values to a script variable externally from command line.
for example:
test.php
<?
echo $param;
?>
command line:
c:\php\php.exe c:\test.php param=test
when i execute above command nothing is written on screen. param variable failed to obtain the "test" value.
Is sending a value to a variable in a script from command line possible ?
Thanks for your replies.