Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Many variabels SSI call...

Posted on 1998-06-16
4
Medium Priority
?
144 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 1600 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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…
Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

688 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