FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.

FutureQuest, Inc.
Go Back   FutureQuest Community > General Site Owner Support (All may read/respond) > General Coding/Development
User Name
Password  Lost PW

Reply
 
Thread Tools Search this Thread Display Modes
Old 03-19-1999, 04:05 PM   Postid: 16032
senns
Visitor

Forum Notability:
0 pts:
[Post Feedback]
 
Join Date: Mar 1999
Location: Canada
Posts: 2
SSI

Is it possible for a form to send user input to an SHTML page, which then sends the information to a CGI script via the <!--#exec cgi--> command?

For example:
http://example.com/page.shtml?name=whatever
Would pass the info along to
http://example.com/page.cgi?name=whatever

Thanks
senns is offline   Reply With Quote
Old 03-20-1999, 12:48 AM   Postid: 16033
 Terra
CTO FutureQuest, Inc.
 
Terra's Avatar
 
Join Date: Jun 1998
Location: Z'ha'dum
Posts: 7,683
The answer is yes...

It will be passed to the cgi script via the QUERY_STRING environment variable...

--
Terra
--had a brain cramp for just a sec--
FutureQuest
Terra is offline   Reply With Quote
Old 03-20-1999, 01:21 AM   Postid: 16034
senns
Visitor

Forum Notability:
0 pts:
[Post Feedback]
 
Join Date: Mar 1999
Location: Canada
Posts: 2
How would I go about doing this? Something like:

<!--#exec cgi="test.cgi?id=$ENV{'QUERY_STRING'}"-->

???
senns is offline   Reply With Quote
Old 03-20-1999, 01:34 AM   Postid: 16035
 Terra
CTO FutureQuest, Inc.
 
Terra's Avatar
 
Join Date: Jun 1998
Location: Z'ha'dum
Posts: 7,683
nope - it's transparent

when your CGI is excuted - QUERY_STRING will be set as expected...

From here, experimentation is the key - tinker with it and see what you come up with... Half the fun is figuring it out...

--
Terra
--I love it when things happen automagically--
FutureQuest
Terra is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 visitors)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Forum Jump


All times are GMT -4. The time now is 08:06 PM.


Running on vBulletin®
Copyright © 2000 - 2013, Jelsoft Enterprises Ltd.
Hosted & Administrated by FutureQuest, Inc.
Images & content copyright © 1998-2013 FutureQuest, Inc.
FutureQuest, Inc.