Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-20-2005, 01:11 PM   #1
LQ Newbie
Registered: Sep 2004
Distribution: Mandrake 10.1
Posts: 16

Rep: Reputation: 0
Script to get form bash?

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?
#! /bin/bash

date >> /home/input
echo xxx >> /home/input
Old 06-29-2005, 10:04 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Making a bash script for a website is bad news.. learn and use perl for such CGI scripts on web pages..


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash script to remove capitalisation and spaces form a filename scuzzman Programming 11 05-18-2008 12:28 PM
Bash Script, Repeating Data t0bbage Linux - General 5 07-09-2005 01:30 AM
capture html form data blizunt7 Programming 12 06-19-2005 08:31 PM
shell script works form command line but not form crontab saifee General 1 10-14-2004 10:27 AM
Why can't I read in data from the serial port using a bash script? tjt Linux - Newbie 1 06-17-2004 12:21 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration