I want to make a cgi-bin - bash script (or in C), to handle with form data in my site.
The form only have 4 inputs... id:"name", id:"email", id:"phone" and id:"message"...I don't know how to get this data...what are the variables names?
How to make a script to get the data and write to a file, not email, since my site is hosted locally?
I'm using apache 2.0.
something like that?
Code:
#! /bin/bash
date >> /home/input
echo xxx >> /home/input
thanks