/ Published in: PHP

If you want to use PHP as a command line program, this code can serve s a reference to read the arguments passed to the program.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $i=0; { echo $argv[$i] . "\n"; $i++; } ?>
Comments
