Welcome to the Linux Foundation Forum!
php user input
hi,
i want to take user inputs from the command line using php. i have google around but all the examples of input are web based so need some help for this
usmangt
0
hi,
i want to take user inputs from the command line using php. i have google around but all the examples of input are web based so need some help for this
usmangt
Comments
./file.php 23 45 29
so that i can save these three input values in my script for their sum calculation
Have you thought about using using sed and a generic file with temp values that can be overwritten by sed, then copy the newly modified file over the original?
<?php
var_dump($argv);
?>