Solved

Many variabels SSI call...

Posted on 1998-06-16
4
142 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

728 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