#!/usr/local/bin/perl ################################################################# # Message Board V4.5.1 (Freeware) # # This program is distributed as freeware. We are not # responsible for any damages that the program causes # to your system. It may be used and modified free of # charge, as long as the copyright notice # in the program that give me credit remain intact. # If you find any bugs in this program. It would be thankful # if you can report it to us at cgifactory@cgi-factory.com. # However, that email address above is only for bugs reporting. # We will not respond to the messages that are sent to that # address. If you have any trouble installing this program. # Please feel free to post a message on our CGI Support Forum. # Selling this script is absolutely forbidden and illegal. ################################################################## # # COPYRIGHT NOTICE: # # Copyright 1999-2001 CGI-Factory.com TM # A subsidiary of SiliconSoup.com LLC # # # Web site: http://www.cgi-factory.com # E-Mail: cgifactory@cgi-factory.com # Released Date: Junuary 13, 2001 # # Message Board V4.5.1 is protected by the copyright # laws and international copyright treaties, as well as other # intellectual property laws and treaties. ################################################################### $fullpath="./"; push(@INC, $fullpath); ##don't change this variable unless you know what you are doing $bench="0"; ###You may need to change following variables to full system path if you are using windows servers $mcfg="mcfg.pl"; $vcfg="vcfg.pl"; # $start=(times)[0]; if ($ENV{'REQUEST_METHOD'} eq 'GET') { @pairs = split(/&/, $ENV{'QUERY_STRING'}); } else { read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); @pairs = split(/&/, $buffer); } foreach $pair (@pairs) { ($name, $value) = split(/=/, $pair); $name =~ tr/+/ /; $name =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; $value =~ tr/+/ /; $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; $value =~ s/\n/\s/g; if ($name && $value) { $input{$name} = $value; } if ($value=~ tr/;<>*|`&$!#()[]{}:'"//) { print "Content-type: text/html\n\n"; &header; print "
|
@board[2] $closed |
EOF
$num=0;
print "
";
if ($use_cookie eq "y") {
if (@data[2]>$cookie{board1}) {
print " |
|
@data[1] |
@data[3] |
$date | |
\n
| \n
|
| \n
|
| Produit par Message Board V4 - © CGI-Factory.com |