Solved

Many variabels SSI call...

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

In this tutorial I will aim to show you how simple is making a small application in WhizBase, how to add, remove and update data in the DB. I will make a small address book application where you can add, browse, update and remove addresses. I wi…
Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

757 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

23 Experts available now in Live!

Get 1:1 Help Now