First pass at adding key files
This commit is contained in:
30
site/slowtwitch.com/cgi-bin/ssi_poll.cgi
Executable file
30
site/slowtwitch.com/cgi-bin/ssi_poll.cgi
Executable file
@ -0,0 +1,30 @@
|
||||
#!/usr/local/bin/perl
|
||||
# ==================================================================
|
||||
# Gossamer Links - enhanced directory management system
|
||||
#
|
||||
# Website : http://gossamer-threads.com/
|
||||
# Support : http://gossamer-threads.com/scripts/support/
|
||||
# CVS Info : 087,068,085,094,083
|
||||
# Revision : $Id: page.cgi,v 1.39 2005/03/22 08:18:05 jagerman Exp $
|
||||
#
|
||||
# Copyright (c) 2001 Gossamer Threads Inc. All Rights Reserved.
|
||||
# Redistribution in part or in whole strictly prohibited. Please
|
||||
# see LICENSE file for full details.
|
||||
# ==================================================================
|
||||
|
||||
use strict;
|
||||
use lib '/var/home/slowtwitch/slowtwitch.com/cgi-bin/articles/admin';
|
||||
use Links qw/:objects/;
|
||||
use Links::User::Page;
|
||||
use GT::WWW;
|
||||
|
||||
local $SIG{__DIE__} = \&Links::fatal;
|
||||
|
||||
Links::init('/var/home/slowtwitch/slowtwitch.com/cgi-bin/articles/admin');
|
||||
Links::init_user();
|
||||
|
||||
my $poll = $IN->param('poll');
|
||||
my $url = "http://forum.slowtwitch.com/cgi-bin/poll/poll.cgi?poll_id=$poll&remote=view";
|
||||
my $content = GT::WWW->get($url);
|
||||
print $IN->header;
|
||||
print $content;
|
Reference in New Issue
Block a user