* "E.Horn" <[EMAIL PROTECTED]> [2005-02-15T07:11:59] > Perhaps someone can help me! > Is there the possibility to link one programm to another perl > programm?so that on click the link and the next programm starts? > Example: > print "<html>"; > print "<title> Hello</title>"; > print "<head></head>"; > print "<body bgcolor=\"white\">"; > print "<h3>Suche:$search</h3>"; > print "<a href=../cgi-bin/"search2.pl"></a>"; ???
You need to get a basic grounding in CGI programs. http://users.easystreet.com/ovid/cgi_course/ That's a pretty decent tutorial, and I'm afraid you'll find your program nearly verbatim as "what your first CGI program should NOT be." If your program is linked to as "foo.pl" and your server knows to run it, and you want some link to run and return the result of some other script, bar.pl, you just need to link to it. Assuming your paths are correct in the last line of your given code, the problem is your quoting. This would be better: print '<a href="../cgi-bin/search2.pl"></a>'; ...but I still suggest you read Ovid's CGI Course. -- rjbs
pgp2NjzmkPDW5.pgp
Description: PGP signature