linuxkid has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl open(FH, "indexfile") || die "Content-Type: text/html\n\n<h1>NOOOOOOO! +!!!!</h1>Error: $!"; print "Content-Type: text/html\n\n"; print "<html>\n<head>\n<title>Index</title>\n<body>\n<ul>\n"; foreach $page (<FH>) { ($id, $file, $title) = split /:/, $page; print "<li><a href=\"ipage.cgi?page=".$id."\" target=\"mframe\">".$ +title."</a></li>\n" } print "</ul>\n</body>\n</html>";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI Help
by Ralesk (Pilgrim) on Mar 21, 2012 at 23:20 UTC | |
by linuxkid (Sexton) on Mar 22, 2012 at 14:59 UTC | |
by Ralesk (Pilgrim) on Mar 22, 2012 at 17:12 UTC | |
by linuxkid (Sexton) on Mar 23, 2012 at 02:38 UTC | |
by Anonymous Monk on Mar 22, 2012 at 17:17 UTC | |
by linuxkid (Sexton) on Mar 23, 2012 at 02:39 UTC | |
|
Re: CGI Help
by roboticus (Chancellor) on Mar 21, 2012 at 19:09 UTC | |
by linuxkid (Sexton) on Mar 21, 2012 at 19:11 UTC | |
by roboticus (Chancellor) on Mar 21, 2012 at 19:16 UTC | |
by linuxkid (Sexton) on Mar 21, 2012 at 19:18 UTC | |
by roboticus (Chancellor) on Mar 21, 2012 at 19:20 UTC | |
| |
|
Re: CGI Help
by Anonymous Monk on Mar 22, 2012 at 08:21 UTC | |
by linuxkid (Sexton) on Mar 22, 2012 at 15:01 UTC | |
|
Re: CGI Help
by Anonymous Monk on Mar 22, 2012 at 03:31 UTC | |
|