$value) $$key = $value; $REDIRTO="dstp.php?D=" . $D . "#" . $ID ; $referer_filter=$_SERVER['HTTP_REFERER']; include "incspamScum.php"; if(!spamScum($referer_filter)){ include('pg_connect.php'); include "incgetstrelements.php"; if($ADD != ''){ $value = $sName; setcookie("rbname", $value, time()+((3600*24)*365)); /* expire in 1 year */ if($rText != ''){ $rText=str_replace("'","''",$rText); $ssql="insert into tblcomments (id,rdate,poster,comments,email,webpage,dtg,psource) values ($ID,'$D','$sName','$rText','$sMail','$sWeb','$dtg','$ip')"; $sresult = pg_query($ssql) or die ("Error in query: $ssql. " . pg_last_error()); } pg_close($pg_connection); Header("Location:$REDIRTO"); } //echo $REDIRTO; $cposter=getstrelements() . rn(); $cmail=""; $cwebsite=""; $NAKED=false; if($rText==''){ //--------Get any cookies. Look at the RANTBURG cookie for backward compatibility---------------- //if(!isset($sName)){ if (isset($_COOKIE["rbname"])){ $cposter=$_COOKIE["rbname"]; //echo $cposter; if (isset($_COOKIE["rbmail"])) $cmail=$_COOKIE["rbmail"]; if (isset($_COOKIE["rbweb"])) $cwebsite=$_COOKIE["rbweb"]; } else if (isset($_COOKIE["RANTBURG"])){ $B=$HTTP_COOKIE_VARS["RANTBURG"]; //echo $B; $C=explode("&",$B); $B=explode("=",$C[1]); $cposter=$B[1]; } $sName=$cposter; $sMail=$cmail; $sWeb=$cwebsite; } if ($D==''){ $D=date("Y-m-d"); } else { $D=date("Y-m-d",strtotime($D)); } ?> Comments
cnt; }else{ $cmts=0; } ?>
You have commented times on Rantburg.

t; $jnum=rand(0, $jnum-1); //printf("jnum: %d
",$jnum); $ssql="select * from tbl_captchas limit 1 offset $jnum"; $jresult = pg_query($ssql) or die (pg_last_error()); $jrow = pg_fetch_object($jresult); $pic=$jrow->_path; $right_answer=$jrow->_description; $right_id=$jrow->id; $arrAnswers[0]=$right_answer; $thing=1; $ssql="select _description from tbl_captchas where _description != '" . str_replace("'","''",$right_answer) ."'"; $jresult = pg_query($ssql) or die (pg_last_error()); $r=pg_num_rows($jresult); while($jrow=pg_fetch_object($jresult)){ $arrAnswers[$thing++]=$jrow->_description; } $d=range(1,$thing-1); //Fill with numbers 1 to rowcount shuffle($d); $arrnx[0]=0; for($i=1;$i < 5;$i++){ $arrnx[$i]=$d[$i]; } shuffle($arrnx); } ?>
We're sorry, but only human beings are allowed to comment on Rantburg. If you're a human being, please take this simple test to prove it. If you're not, get lost.

\n", $arrAnswers[$arrnx[$i]]); } } ?>
Your Name
Your e-mail (optional)
Website (optional)
My Original Nic        Pic-a-Nic        Sorry. Comments have been closed on this article."; ?>
Bold Italic Underline Strike Bullet Blockquote Small Big Link Squish Photo
rheadline ?>
rbanner ?>
rdate ?>
rquote) ?>
Posted by:poster ?>

#  comments); ?>
Posted by: poster; ?>   dtg; ?>  

We're sorry

The internet is closed for cleaning today

"; } ?>