The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Environmental Problem magasem AIX 1 04-13-2008 05:58 PM
How to create ENV varibles koti_rama UNIX for Dummies Questions & Answers 1 07-10-2007 02:39 AM
Environmental Variable janemary.a Shell Programming and Scripting 2 05-14-2007 10:46 PM
different way to echo varibles...help wxornot UNIX for Dummies Questions & Answers 8 01-06-2006 09:13 AM
Dynamic Varibles problem oconnon2 Shell Programming and Scripting 1 04-28-2005 08:25 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-24-2001
Registered User
 

Join Date: Jul 2001
Location: Houston, TX -- USA
Posts: 9
environmental varibles

flavor -- AIX 4.2.1

I am putting together some HTML pages, some of which contain forms. The problem pops up when I attempt to pass variables (from the forms) from one HTML page to a cgi-like page created using ksh.

I have used the $1 - $9 vars, but they do not work with the passing. With Perl I have done something close to this using $ENV.

The HTML tags (html, body, form . . .) all work within the ksh script, and I can echo new data into the page that the script creates, but I just can't get the form data from one page to pass to my ksh script.

My eye are weary from searching for the answer via uncountable web searches.

Thanks in advance guys and gals. . .
Forum Sponsor
  #2 (permalink)  
Old 07-25-2001
PxT's Avatar
PxT PxT is offline
Registered User
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 909
I assume the ksh script is the "ACTION" of your form? If you are using METHOD=post, then the data from the form gets passed in on standard input. You would have to set up your script to parse it somehow.

I would recommend using Perl if possible, since their are already modules available to make it very easy to access your form data.


Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:50 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0