Home : Products : Links 2.0 : Customization :

Products: Links 2.0: Customization: Re: [stu2000] Info.cgi or details.cgi: Edit Log

Here is the list of edits for this post
Re: [stu2000] Info.cgi or details.cgi
To the best of my knowledge, this is all that's needed:

Code:
#!/usr/loca/bin/perl
use CGI qw(:standard);
use lib "admin"; #change to full path if you have problems
require "links.cfg";
require "links.def";
require "site_html_templates.pl";
my $id = param(id);
$id =~ /^\d+$/ or die "invalid ID";
my %rec = get_record($id);
print header();
print site_html_detailed(%rec);

Let me know if you have any problems, as I don't have Links installed anymore, nor my original info.cgi script.

--Philip
Links 2.0 moderator

Last edited by:

sponge: Aug 28, 2002, 3:27 PM

Edit Log: