I've wrote CGI script for www.
This script expects two parameters through GET method, multiply these numbers and write result into the file.
mult.cgi?m=1&n=2
But now I want to use this script from console too. I'tried something like
./mult.cgi?m=1&n=2
But it didnt work, how can I send parameters to script?
thanks.
QUERY_STRING="m=2&n=4" ./mult.cgi
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With