Solved

Many variabels SSI call...

Posted on 1998-06-16
4
138 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
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)
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

867 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now