UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 2nd, 2005, 08:50 PM
utcguy utcguy is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 9 utcguy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 47 m 53 sec
Reputation Power: 0
Question Using CGI variables in C-shell script

I'm just learning CGI and I was wondering if I could get help on how I could use the value of something entered in a cgi form, and use it as a variable in a another cgi script. To be clear, my form is supposed to take in business types and information from local area businesses of that type. I get the following result from the query string "bustype = restaurant" but I want to it to be just "restaurant" b/c I want to use this as an argument in a mysql command. By the way, the cgi script was created in csh if that matters. Thanks for any help you could provide.

Reply With Quote
  #2  
Old May 4th, 2005, 03:28 AM
sunvsunv sunvsunv is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 139 sunvsunv User rank is Corporal (100 - 500 Reputation Level)sunvsunv User rank is Corporal (100 - 500 Reputation Level)sunvsunv User rank is Corporal (100 - 500 Reputation Level)sunvsunv User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 16 h 10 m 55 sec
Reputation Power: 7
post the script that you have written.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > Using CGI variables in C-shell script


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway