Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic link problem in Navigator 4.08

Status
Not open for further replies.

Haazi2

Programmer
Aug 25, 2000
51
US
I have a perl script that creates hyperlinks dynamically which send data to the same script. For example say I have a script called quotes.cgi which can accept a some parameters. My hyperlinks are in the form of:

<a href=?qsymbol=DM&bid=120050>D-Mark</a>

In Navigator 4.08 when I click on the link it attempts to open what is in the cgi-bin directory and in the status bar of the browser displays the following:


I tested the generated hyperlinks in MSIE v5.5 and Navigator 6.2. In both browsers if you click on the links you will get the page that displays the info passed to the quotes.cgi on a simple html page. Also in the status bar for both browsers you will see the following:


Why does Navigator 4.08 try to access the cgi-bin directory instead of displaying a simple html page and not show the cgi program as part of the URL? Thanks in advance for any help or suggestions offered.

Note: This was tested on SunOS 5.7 running Apache server and
I even ran this test locally on my WindowsNT 4.0 Workstation using Apache.
 
I don't understand. If I read your post right, it's an incomplete hyperlink in improper format.

Your not specifying a cgi script with parameters. Your just saying:

<a href=?qsymbol=DM&bid=120050>D-Mark</a>

which is just some parameters (not even in quotes). Why don't you put the name of the script in front of the question mark?

< href=&quot;quotes.cgi?qsymbol=DM&bid=120050&quot;>D-Mark</a>

See if that works...

Hope this helps.

--Jim
 
(This is off-topic here)

You're producing invalid html because the value of the href attribute must be enclosed in quotation marks.

Correct form:

<a href=&quot;?qsymbol=DM&bid=120050&quot;>D-Mark</a>

Consider using the HTML validation service provided by the W3C ( to ensure your scripts are in fact producing correct HTML.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top