>>Listers, >> >>I'm in the process of trying to write a CGI script that will also work from >>a direct link rather as well as from a form. >> >>Here's a little more info that might help explain what I'm trying to do. >> >>The site was previously using Active Server Pages (ASP) rather than >>Links/CGI's. These would work similar to a CGI in that a link to a page >>would look something like http://www.test.com/lookup.asp?searchterm. When >>clicked, these would then open a file of links, find the appropriate >>searchterm, and either show the single page found or show a list of llinks. >>An ASP form would act basicly the same taking the text entered and look in >>the file of links. >> >>I'm trying to replace both of these with a CGI script (my first) and have >>the form to CGI script (POST and GET) working great. >> >>The problem I can't figure out a way to call this from a link directly (ie, >>no form used) in the same way the ASP does. > >calling a cgi through a link should work exactly the same as calling >one through a form with method=GET. just, make sure that the text is >URL encoded (e.g. '+' for ' '). i use this method exclusively for >one of my cgi's ( http://www.smalltime.com/nowhere/dictator/ ). if >you go to that url and play the game you can see that each of the >links for the questions is actually a call to the cgi which runs >the game. please elaborate if that doesn't answer your question. > >-gene Gene (and others but Gene was first), Many thanks for the help... Your answer and the link you included was enough for me to spot where I was screwing up. Thanks again, me -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Dennis Little mailto://dennis.j.little@lmco.com Lockheed Martin Missiles & Space mailto://metnet@worldnet.att.net Sunnyvale, CA Web: http://www.lmms.lmco.com/ Phone: 408/756-2170 LMMS: O/EA52 B/076 C/3E8 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch