LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



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

Rep: Reputation: 0
Script to get form data..in 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?
Code:
#! /bin/bash

date >> /home/input
echo xxx >> /home/input
thanks
 
Old 06-29-2005, 11:04 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

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


Reply


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 01:28 PM
Bash Script, Repeating Data t0bbage Linux - General 5 07-09-2005 02:30 AM
capture html form data blizunt7 Programming 12 06-19-2005 09:31 PM
shell script works form command line but not form crontab saifee General 1 10-14-2004 11:27 AM
Why can't I read in data from the serial port using a bash script? tjt Linux - Newbie 1 06-17-2004 01:21 AM


All times are GMT -5. The time now is 08:46 PM.

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