Let's say I have the below script (we'll call it sample.cgi)
Code:
#!/bin/sh
# sample script
echo "Content-type: text/html"
echo ""
echo "hello <h1>$name</h1>"
I'm running apache server and the script itself runs fine (It prints the word hello).
But, how do I create a HTML code that will send the 'name' variable from a textbox?
thanks