All pastes #88006 Raw Edit

Someone

public text v1 · immutable
·published 2006-07-14 12:15 UTC
rendered paste body
<?php
$errors = array();
if (!$_POST[ 'text_com' ])       
	$errors[] = $comment_error = "<div id='error'>Please do not resubmit.</div>";
	
else {
	header('Location: ./article.php?id_art=<?php echo $row_blogArticles["id_art"]); ?>');
	exit;
	}
	
?>
....

  <form action = "" method = "post" enctype = "multipart/form-data" id = "form" onkeyup="highlight(event)"                    onclick="highlight(event)" >
  <textarea type = "text" name = "text_com" id = "" class = "" cols = "58" rows = "5" value = "<?php echo $text_com ?>" />
       <?php echo $text_com ?>
  </textarea>
     <p /><p />
     <input type = "submit" name = "Blog_insert" value = "submit post" />
     <input type = "hidden" name = "idart_com" value = "<?php echo htmlentities($Record['idart_com'])?>" />
     <input type = "hidden" name = "idusr_com" value = "<?php echo $_SESSION['id_blg']; ?>" />
     <input type = "hidden" name = "date_com"  value = "<?php echo htmlentities($Record['date_com'])?>" />
     <input type = "hidden" name = "valid_com" value = "1" />
 </form> 
....