Solved

Many variabels SSI call...

Posted on 1998-06-16
4
141 Views
Last Modified: 2013-12-25
I want to call this output from my webpage, via SSI

http://www.c-mig.com/cgi-bin/prislistan/db.cgi/guest85753.htm?ID=*&Kategori=&Pris=&Foretag=&URL=&datum=&keyword=&mh=1&sb=2&view_records=1

I did try something like this:

<!--#exec
cmd="PATH_INFO=/guest85753.htm?ID=*&Kategori=&Pris=&Foretag=&URL=&datum=&keyword=&mh=1&sb=2&view_records=1;
export PATH_INFO;
/home/cmigjm/public_html/db.cgi"-->

But without success (worked with only one parameter in another program)

Help...

0
Comment
Question by:nifer
  • 2
  • 2
4 Comments
 

Author Comment

by:nifer
ID: 1829868
Adjusted points to 400
0
 
LVL 6

Accepted Solution

by:
alamo earned 400 total points
ID: 1829869
Try this: (I am quoting your string, you might need to fix the syntax a little):

<!--#exec
cmd="PATH_INFO=/guest85753.htm;
export PATH_INFO;
QUERY_STRING=ID=*&Kategori=&Pris=&Foretag=&URL=&datum=&keyword=&mh=1&sb=2&view_records=1;
 export QUERY_STRING;
 /home/cmigjm/public_html/db.cgi"-->

Hope this helps, good luck!
0
 
LVL 6

Expert Comment

by:alamo
ID: 1829870
Make one change to the above- add ' to the beginning (after the first =) and end (before the ;) of the QUERY_STRING value, i.e.

QUERY_STRING='ID=*&Kategori=&Pris=&Foretag=&URL=&datum=&keyword=&mh=1&sb=2&view_records=1';

That's necessary to deal with characters the shell can't deal with.
0
 

Author Comment

by:nifer
ID: 1829871
By the book! worked excellent!

/Jonas
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question