Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<? function my_get_post($name,$escape=false) { $var_read = ''; if (isset($_POST[$name..

Decoded Output download

<?

function my_get_post($name,$escape=false)
{
  $var_read = '';
  if (isset($_POST[$name]))
  {
    $var_read = $_POST[$name];
    if (get_magic_quotes_gpc()) $var_read=stripslashes($var_read);
	if ($escape) $var_read=htmlspecialchars($var_read,ENT_QUOTES);
  }
  return $var_read;
}


function isEmail($str) 
{
  if(eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$", $str)) 
    return true;
  else
    return false;
}
  
function form_7_count_spam($str)
{
$nb=0;
$word='http:';
if (stristr($str,$word)) $nb++;
$word='<';
if (stristr($str,$word)) $nb++;
$word='>';
if (stristr($str,$word)) $nb++;

return $nb;
}
$form_7_class='form_7_error';
$form_7_error='';
  $form_7_spam=0;
  
$form_7_td_49_class='form_7_info';
$form_7_td_49_error='&nbsp;';
$select_109_value='CallMe';
$select_109_checked='0';
$select_110_value='eMailMe';
$select_110_checked='0';

$form_7_td_42_class='form_7_info';
$form_7_td_42_error='&nbsp;';
$form_7_td_42_value='';

$form_7_td_43_class='form_7_info';
$form_7_td_43_error='&nbsp;';
$form_7_td_43_value='';

$form_7_td_45_class='form_7_info';
$form_7_td_45_error='&nbsp;';
$form_7_td_45_value='';

$form_7_td_44_class='form_7_info';
$form_7_td_44_error='&nbsp;';
$form_7_td_44_value='';

$form_7_td_46_class='form_7_info';
$form_7_td_46_error='&nbsp;';
$form_7_td_46_value='';


if ('hovCJQX4'==my_get_post('form_7_submit'))
{
$form_7_error_string='There are errors which need correction.';
$form_7_td_49_error_class='form_7_error';


$form_7_td_49_value=my_get_post('Howshouldwecontactyou'  );
$form_7_body.='Howshouldwecontactyou : '.my_get_post('Howshouldwecontactyou')."
";
if ($form_7_td_49_value == $select_109_value) $select_109_checked=1; else $select_109_checked=0;
if ($form_7_td_49_value == $select_110_value) $select_110_checked=1; else $select_110_checked=0;

$form_7_td_42_error_class='form_7_error';
$form_7_td_42_error_must='Error: This field is required!';
$form_7_td_42_error_spam='Error: http: < > are not allowed!';


$form_7_td_42_value=my_get_post('Name' ,true);
$form_7_body.='Name : '.my_get_post('Name')."
";


if (''==trim(my_get_post('Name'))) {$form_7_td_42_class=$form_7_td_42_error_class; $form_7_td_42_error=$form_7_td_42_error_must; $form_7_error=$form_7_error_string;}
  

$form_7_td_42_spam=form_7_count_spam(my_get_post('Name'));
if ($form_7_td_42_spam>0)
{
  if ($form_7_td_42_class!=$form_7_td_42_error_class) {$form_7_td_42_class=$form_7_td_42_error_class; $form_7_td_42_error=$form_7_td_42_error_spam; $form_7_error=$form_7_error_string;}
  $form_7_spam += $form_7_td_42_spam;
}
  
$form_7_td_43_error_class='form_7_error';
$form_7_td_43_error_must='Error: This field is required!';
$form_7_td_43_error_validation='Error: This field must be an email!';
$form_7_td_43_error_spam='Error: http: < > are not allowed!';


$form_7_td_43_value=my_get_post('Email' ,true);
$form_7_body.='Email : '.my_get_post('Email')."
";


if (''==trim(my_get_post('Email'))) {$form_7_td_43_class=$form_7_td_43_error_class; $form_7_td_43_error=$form_7_td_43_error_must; $form_7_error=$form_7_error_string;}
  

if ($form_7_td_43_class!=$form_7_td_43_error_class && ''!=trim(my_get_post('Email')) && !isEmail(my_get_post('Email'))) {$form_7_td_43_class=$form_7_td_43_error_class; $form_7_td_43_error=$form_7_td_43_error_validation; $form_7_error=$form_7_error_string;}
  

$form_7_td_43_spam=form_7_count_spam(my_get_post('Email'));
if ($form_7_td_43_spam>0)
{
  if ($form_7_td_43_class!=$form_7_td_43_error_class) {$form_7_td_43_class=$form_7_td_43_error_class; $form_7_td_43_error=$form_7_td_43_error_spam; $form_7_error=$form_7_error_string;}
  $form_7_spam += $form_7_td_43_spam;
}
  
$form_7_td_45_error_class='form_7_error';
$form_7_td_45_error_spam='Error: http: < > are not allowed!';


$form_7_td_45_value=my_get_post('Telephone' ,true);
$form_7_body.='Telephone : '.my_get_post('Telephone')."
";


$form_7_td_45_spam=form_7_count_spam(my_get_post('Telephone'));
if ($form_7_td_45_spam>0)
{
  if ($form_7_td_45_class!=$form_7_td_45_error_class) {$form_7_td_45_class=$form_7_td_45_error_class; $form_7_td_45_error=$form_7_td_45_error_spam; $form_7_error=$form_7_error_string;}
  $form_7_spam += $form_7_td_45_spam;
}
  
$form_7_td_44_error_class='form_7_error';
$form_7_td_44_error_spam='Error: http: < > are not allowed!';


$form_7_td_44_value=my_get_post('Address' ,true);
$form_7_body.='Address : '.my_get_post('Address')."
";


$form_7_td_44_spam=form_7_count_spam(my_get_post('Address'));
if ($form_7_td_44_spam>0)
{
  if ($form_7_td_44_class!=$form_7_td_44_error_class) {$form_7_td_44_class=$form_7_td_44_error_class; $form_7_td_44_error=$form_7_td_44_error_spam; $form_7_error=$form_7_error_string;}
  $form_7_spam += $form_7_td_44_spam;
}
  
$form_7_td_46_error_class='form_7_error';
$form_7_td_46_error_spam='Error: http: < > are not allowed!';


$form_7_td_46_value=my_get_post('Comments' ,true);
$form_7_body.='Comments : '.my_get_post('Comments')."
";


$form_7_td_46_spam=form_7_count_spam(my_get_post('Comments'));
if ($form_7_td_46_spam>0)
{
  if ($form_7_td_46_class!=$form_7_td_46_error_class) {$form_7_td_46_class=$form_7_td_46_error_class; $form_7_td_46_error=$form_7_td_46_error_spam; $form_7_error=$form_7_error_string;}
  $form_7_spam += $form_7_td_46_spam;
}
  

if (''==trim($form_7_error) && 0==$form_7_spam)
{
$receiver='[email protected]';
$subject='RCR Chicken Request ';
if (isEmail( $form_7_td_43_value )) $header='From: '.$form_7_td_43_value;

  $subject= substr($subject, 0, 255);
  $subject=str_replace("
", " ", $subject);
  $subject=str_replace("
", " ", $subject);

  $body=str_replace("
.", "
..", $form_7_body);



  if ($body!="")
  {
    $result=mail($receiver,$subject,$body,$header);
    if (!result)
    {
       echo 'ERROR: The PHP mail function mail($receiver,$subject,$body,$header); does not work properly on your server, please contact your web hosting.';
       exit;
    }
  }

  if ($result)
  {
    $url='http://www.riverscritters.com/feedback-thank-you.php';
    if (!headers_sent()){    
        header('Location: '.$url); exit;
    }else{                    
        echo '<script type="text/javascript">';
        echo 'window.location.href="'.$url.'";';
        echo '</script>';
        echo '<noscript>';
        echo '<meta http-equiv="refresh" content="0;url='.$url.'" />';
        echo '</noscript>'; exit;
    }	
    exit;
  }
}

  if (trim($form_7_error)) $form_7_error="<tr><td colspan=3 class='$form_7_class'>$form_7_error</td></tr>";
}
if ($form_7_spam >= 3)  sleep(20);
if ($form_7_spam >= 3) $select_109_checked='0';

if ($form_7_spam >= 3) $select_110_checked='0';

if ($form_7_spam >= 3) $form_7_td_42_value='';

if ($form_7_spam >= 3) $form_7_td_43_value='';

if ($form_7_spam >= 3) $form_7_td_45_value='';

if ($form_7_spam >= 3) $form_7_td_44_value='';

if ($form_7_spam >= 3) $form_7_td_46_value='';


?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Rivers Critters Ranch Home</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >
<meta name="description" content="Rivers Critters Ranch is a family farm located in central Minnesota. We raise Olde English Babydoll Sheep, sell organic chicken and animal feed." >
<meta name="keywords" content="Rivers, Rivers Critters, Organic, MN, Hobby Farm, Organic Feed, Feedstore" >
<meta name="GENERATOR" content="Ewisoft Website Builder eCommerce Software from http://www.ewisoft.com/" >
<LINK rel="stylesheet" type="text/css" href="./user/ecommerce-css/e_list_view.css" >
<LINK rel="stylesheet" type="text/css" href="./user/ecommerce-css/e_detail_view.css" >
<LINK rel="stylesheet" type="text/css" href="./user/ecommerce-css/e_grid_view.css" >
<link href="./usertpl/1vg104-simple/stylesheet.css" rel="stylesheet" type="text/css" >
<style type="text/css" >
<!--

--></style><link rel="stylesheet" type="text/css" href="./user/g-css-js/form-7.css" />
<script language="javascript" type="text/javascript" src="./user/g-css-js/form-7.js" ></script><script language="javascript" type="text/javascript" src="./user/g-css-js/common-form.js" ></script> <script type="text/javascript"> 
 
  var _gaq = _gaq || []; 
  _gaq.push(['_setAccount', 'UA-34790053-1']); 
  _gaq.push(['_setDomainName', 'riverscritters.com']); 
  _gaq.push(['_trackPageview']); 
 
  (function() { 
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; 
    ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js'; 
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); 
  })(); 
 
</script></head>
<body bgcolor="#7A7C70" >
<table class="tablewidth" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="logobk" >
<tr>
<td width="370" >
<div align="center" valign="middle" ><a href="index.htm" ><img src="./user/gimage/RCR-Logo-TRR-v3_gif_108_97.png" width="108" height="97" alt="Rivers Critters Ranch Hamburg MN" align="center" style="text-align:center;vertical-align:middle;" border="0" ></a></div></td>
<td><P align="center" ><STRONG><FONT size="3" >Welcome to Rivers Critters Ranch</FONT></STRONG></P>
<FORM method="post" action="http://www.riverscritters.com/search.php" >
<P align="right" ><INPUT name="q" >
<INPUT value="Search" type="submit" name="search" ></P></FORM></td></tr></table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td width="50%" valign="top" ><table width="100%" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td valign="top" class="bannerbk" ><P align="center" ><a href="./user/cimage/100_1289.JPG" target="_blank" ><img src="./user/gimage/100_1289_368_278.JPG" width="368" height="278" alt="Free Range Broiler Chickens 6 Weeks Old, (c) Rivers Critters Ranch, LLC" target="_blank" border="0" ></a></P>
<P align="center" ><FONT size="3" face="Palatino Linotype" >Six Week Old Free Range Chickens <BR>enjoying pasture</FONT></P></td></tr></table></td>
<td width="50%" valign="top" class="nav1background" ><br>
<br>
<table width="75%" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td height="35" class="nav1bk" ><a href="index.htm" target="_self" class="nav1" >Home</a></td></tr>
<tr>
<td height="35" class="nav1bk" ><a href="Sheep.htm" target="_self" class="nav1" >Olde English Babydoll Sheep</a></td></tr>
<tr>
<td height="35" class="nav1bk" ><a href="farmanimalspeacocks.htm" target="_self" class="nav1" >Peacocks</a></td></tr>
<tr>
<td height="35" class="nav1activebk" ><a href="FreeRangeChickens.htm" target="_self" class="nav1active" >Free Range Chickens</a></td></tr>
<tr>
<td height="35" class="nav1bk" ><a href="organicfeed.htm" target="_self" class="nav1" >Organic Feed</a></td></tr>
<tr>
<td height="35" class="nav1bk" ><a href="donkeys.htm" target="_self" class="nav1" >Donkeys</a></td></tr>
<tr>
<td height="35" class="nav1bk" ><a href="viewsfromthefarm.htm" target="_self" class="nav1" >Views From The Farm</a></td></tr>
<tr>
<td height="35" class="nav1bk" ><a href="ThoughtsFromTheFarm.htm" target="_self" class="nav1" >Thoughts From The Farm</a></td></tr>
<tr>
<td height="35" class="nav1bk" ><a href="rivers-critters-store.htm" target="_self" class="nav1" >Rivers Critters Store</a></td></tr></table></td></tr></table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td class="nav2bk" >
<a href="pasturedpoultry.htm" target="_self" class="nav2" >Pastured Poultry</a><a href="FreeRangePictures.htm" target="_self" class="nav2" >Raising Free Range Chickens</a><a href="order-chickens.php" target="_self" class="nav2active" >Order Chickens</a><a href="typeschickens.htm" target="_self" class="nav2" >Types of Chickens</a></td></tr></table>
<table width="100%" border="0" align="center" cellpadding="15" cellspacing="0" >
<tr>
<td valign="top" class="contentbk" ><H1>Order Your Free Range Chickens</H1>
<P align="left" ><a href="./user/cimage/chicken-broiler-Princess.jpg" target="_blank" ><img src="./user/gimage/chicken-broiler-Princess_200_181.jpg" width="200" height="181" style="TEXT-ALIGN: left" alt="Organic Raised Free Range Broiler chicken" align="left" target="_blank" border="0" ></a>It doesn't get any better than chicken raised on pasture.&nbsp; Our birds are lean, firm and flavorful due to the healthy environment of fresh air, water and pasture.&nbsp; All our poultry are fed certified organic grains.&nbsp; They never receive any antibiotics or hormones.&nbsp;All our birds are processed in a Minnesota State inspected plant.<BR><I><FONT color="#ff0000" ><BR>Only available to consumers in Minnesota<BR></P>
<P align="left" >
<form id="ewisoft_form-7" name="Chicken" method="post" action="#" onsubmit="return onsubmit_form_7();" >
<input type="hidden" name="form_7_submit" value="hovCJQX4" >
<table cellpadding="2" cellspacing="0" border="0" >
<? echo $form_7_error ?>
<tr><td align="left" valign="top" class="form_7_td_48" colspan="2" >I'm Interested In Placing An Order</td><td id="form_7_info_td_48" class="<? echo $form_7_td_48_class ?>" ><? echo $form_7_td_48_error ?></td></tr>
<tr><td class="form_7_td" >How should we contact you?</td><td class="form_7_td" ><select name="Howshouldwecontactyou" ><option value="<? echo $select_109_value ?>" <? if ( 1 == $select_109_checked ) echo ' selected=selected '; ?>>Call Me</option>
<option value="<? echo $select_110_value ?>" <? if ( 1 == $select_110_checked ) echo ' selected=selected '; ?>>eMail Me</option></select></td><td id="form_7_info_td_49" class="<? echo $form_7_td_49_class ?>" ><? echo $form_7_td_49_error ?></td></tr>
<tr><td class="form_7_td_42" >Name:</td><td class="form_7_td" ><input type="text" name="Name" value="<? echo $form_7_td_42_value ?>" onchange="validate_form_7_input_42(false);" /></td><td id="form_7_info_td_42" class="<? echo $form_7_td_42_class ?>" ><? echo $form_7_td_42_error ?></td></tr>
<tr><td class="form_7_td_43" >Email:</td><td class="form_7_td" ><input type="text" name="Email" value="<? echo $form_7_td_43_value ?>" onchange="validate_form_7_input_43(false);" /></td><td id="form_7_info_td_43" class="<? echo $form_7_td_43_class ?>" ><? echo $form_7_td_43_error ?></td></tr>
<tr><td class="form_7_td" >Telephone:</td><td class="form_7_td" ><input type="text" name="Telephone" value="<? echo $form_7_td_45_value ?>" onchange="validate_form_7_input_45(false);" /></td><td id="form_7_info_td_45" class="<? echo $form_7_td_45_class ?>" ><? echo $form_7_td_45_error ?></td></tr>
<tr><td class="form_7_td" >Address:</td><td class="form_7_td" ><textarea name="Address" ><? echo $form_7_td_44_value ?></textarea></td><td id="form_7_info_td_44" class="<? echo $form_7_td_44_class ?>" ><? echo $form_7_td_44_error ?></td></tr>
<tr><td class="form_7_td" >Comments:</td><td class="form_7_td" ><textarea name="Comments" ><? echo $form_7_td_46_value ?></textarea></td><td id="form_7_info_td_46" class="<? echo $form_7_td_46_class ?>" ><? echo $form_7_td_46_error ?></td></tr>
<tr><td align="center" class="form_7_td" colspan="2" ><input type="submit" value="Submit" /></td><td id="form_7_info_td_47" class="form_7_info" >&nbsp;</td></tr></table></form></P></FONT></I></td></tr></table>
<table width="100%" height="75" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td width="50%" class="copyrightbk" ><div align="center" class="copyright" >Copyright 2018 &copy; Rivers Critters Ranch, LLC. All rights reserved.<br>This website was powered by Ewisoft <a href="http://www.ewisoft.com/" target="_blank" class="link7984" >eCommerce Website Builder</a>.</div></td>
<td class="footerbk" ><div align="center" >
<P><STRONG>For More Information Contact</STRONG>:</P>
<P>Rivers Critters Ranch<BR>Hamburg, MN&nbsp; 55339&nbsp;<BR>763-442-5894&nbsp;<BR>
<A href="mailto:[email protected]" >[email protected]</A></P></div></td></tr></table></td></tr></table></body></html>

Did this file decode correctly?

Original Code

<?

function my_get_post($name,$escape=false)
{
  $var_read = '';
  if (isset($_POST[$name]))
  {
    $var_read = $_POST[$name];
    if (get_magic_quotes_gpc()) $var_read=stripslashes($var_read);
	if ($escape) $var_read=htmlspecialchars($var_read,ENT_QUOTES);
  }
  return $var_read;
}


function isEmail($str) 
{
  if(eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$", $str)) 
    return true;
  else
    return false;
}
  
function form_7_count_spam($str)
{
$nb=0;
$word='http:';
if (stristr($str,$word)) $nb++;
$word='<';
if (stristr($str,$word)) $nb++;
$word='>';
if (stristr($str,$word)) $nb++;

return $nb;
}
$form_7_class='form_7_error';
$form_7_error='';
  $form_7_spam=0;
  
$form_7_td_49_class='form_7_info';
$form_7_td_49_error='&nbsp;';
$select_109_value='CallMe';
$select_109_checked='0';
$select_110_value='eMailMe';
$select_110_checked='0';

$form_7_td_42_class='form_7_info';
$form_7_td_42_error='&nbsp;';
$form_7_td_42_value='';

$form_7_td_43_class='form_7_info';
$form_7_td_43_error='&nbsp;';
$form_7_td_43_value='';

$form_7_td_45_class='form_7_info';
$form_7_td_45_error='&nbsp;';
$form_7_td_45_value='';

$form_7_td_44_class='form_7_info';
$form_7_td_44_error='&nbsp;';
$form_7_td_44_value='';

$form_7_td_46_class='form_7_info';
$form_7_td_46_error='&nbsp;';
$form_7_td_46_value='';


if ('hovCJQX4'==my_get_post('form_7_submit'))
{
$form_7_error_string='There are errors which need correction.';
$form_7_td_49_error_class='form_7_error';


$form_7_td_49_value=my_get_post('Howshouldwecontactyou'  );
$form_7_body.='Howshouldwecontactyou : '.my_get_post('Howshouldwecontactyou')."\r\n";
if ($form_7_td_49_value == $select_109_value) $select_109_checked=1; else $select_109_checked=0;
if ($form_7_td_49_value == $select_110_value) $select_110_checked=1; else $select_110_checked=0;

$form_7_td_42_error_class='form_7_error';
$form_7_td_42_error_must='Error: This field is required!';
$form_7_td_42_error_spam='Error: http: < > are not allowed!';


$form_7_td_42_value=my_get_post('Name' ,true);
$form_7_body.='Name : '.my_get_post('Name')."\r\n";


if (''==trim(my_get_post('Name'))) {$form_7_td_42_class=$form_7_td_42_error_class; $form_7_td_42_error=$form_7_td_42_error_must; $form_7_error=$form_7_error_string;}
  

$form_7_td_42_spam=form_7_count_spam(my_get_post('Name'));
if ($form_7_td_42_spam>0)
{
  if ($form_7_td_42_class!=$form_7_td_42_error_class) {$form_7_td_42_class=$form_7_td_42_error_class; $form_7_td_42_error=$form_7_td_42_error_spam; $form_7_error=$form_7_error_string;}
  $form_7_spam += $form_7_td_42_spam;
}
  
$form_7_td_43_error_class='form_7_error';
$form_7_td_43_error_must='Error: This field is required!';
$form_7_td_43_error_validation='Error: This field must be an email!';
$form_7_td_43_error_spam='Error: http: < > are not allowed!';


$form_7_td_43_value=my_get_post('Email' ,true);
$form_7_body.='Email : '.my_get_post('Email')."\r\n";


if (''==trim(my_get_post('Email'))) {$form_7_td_43_class=$form_7_td_43_error_class; $form_7_td_43_error=$form_7_td_43_error_must; $form_7_error=$form_7_error_string;}
  

if ($form_7_td_43_class!=$form_7_td_43_error_class && ''!=trim(my_get_post('Email')) && !isEmail(my_get_post('Email'))) {$form_7_td_43_class=$form_7_td_43_error_class; $form_7_td_43_error=$form_7_td_43_error_validation; $form_7_error=$form_7_error_string;}
  

$form_7_td_43_spam=form_7_count_spam(my_get_post('Email'));
if ($form_7_td_43_spam>0)
{
  if ($form_7_td_43_class!=$form_7_td_43_error_class) {$form_7_td_43_class=$form_7_td_43_error_class; $form_7_td_43_error=$form_7_td_43_error_spam; $form_7_error=$form_7_error_string;}
  $form_7_spam += $form_7_td_43_spam;
}
  
$form_7_td_45_error_class='form_7_error';
$form_7_td_45_error_spam='Error: http: < > are not allowed!';


$form_7_td_45_value=my_get_post('Telephone' ,true);
$form_7_body.='Telephone : '.my_get_post('Telephone')."\r\n";


$form_7_td_45_spam=form_7_count_spam(my_get_post('Telephone'));
if ($form_7_td_45_spam>0)
{
  if ($form_7_td_45_class!=$form_7_td_45_error_class) {$form_7_td_45_class=$form_7_td_45_error_class; $form_7_td_45_error=$form_7_td_45_error_spam; $form_7_error=$form_7_error_string;}
  $form_7_spam += $form_7_td_45_spam;
}
  
$form_7_td_44_error_class='form_7_error';
$form_7_td_44_error_spam='Error: http: < > are not allowed!';


$form_7_td_44_value=my_get_post('Address' ,true);
$form_7_body.='Address : '.my_get_post('Address')."\r\n";


$form_7_td_44_spam=form_7_count_spam(my_get_post('Address'));
if ($form_7_td_44_spam>0)
{
  if ($form_7_td_44_class!=$form_7_td_44_error_class) {$form_7_td_44_class=$form_7_td_44_error_class; $form_7_td_44_error=$form_7_td_44_error_spam; $form_7_error=$form_7_error_string;}
  $form_7_spam += $form_7_td_44_spam;
}
  
$form_7_td_46_error_class='form_7_error';
$form_7_td_46_error_spam='Error: http: < > are not allowed!';


$form_7_td_46_value=my_get_post('Comments' ,true);
$form_7_body.='Comments : '.my_get_post('Comments')."\r\n";


$form_7_td_46_spam=form_7_count_spam(my_get_post('Comments'));
if ($form_7_td_46_spam>0)
{
  if ($form_7_td_46_class!=$form_7_td_46_error_class) {$form_7_td_46_class=$form_7_td_46_error_class; $form_7_td_46_error=$form_7_td_46_error_spam; $form_7_error=$form_7_error_string;}
  $form_7_spam += $form_7_td_46_spam;
}
  

if (''==trim($form_7_error) && 0==$form_7_spam)
{
$receiver='[email protected]';
$subject='RCR Chicken Request ';
if (isEmail( $form_7_td_43_value )) $header='From: '.$form_7_td_43_value;

  $subject= substr($subject, 0, 255);
  $subject=str_replace("\n", " ", $subject);
  $subject=str_replace("\r", " ", $subject);

  $body=str_replace("\n.", "\n..", $form_7_body);



  if ($body!="")
  {
    $result=mail($receiver,$subject,$body,$header);
    if (!result)
    {
       echo 'ERROR: The PHP mail function mail($receiver,$subject,$body,$header); does not work properly on your server, please contact your web hosting.';
       exit;
    }
  }

  if ($result)
  {
    $url='http://www.riverscritters.com/feedback-thank-you.php';
    if (!headers_sent()){    
        header('Location: '.$url); exit;
    }else{                    
        echo '<script type="text/javascript">';
        echo 'window.location.href="'.$url.'";';
        echo '</script>';
        echo '<noscript>';
        echo '<meta http-equiv="refresh" content="0;url='.$url.'" />';
        echo '</noscript>'; exit;
    }	
    exit;
  }
}

  if (trim($form_7_error)) $form_7_error="<tr><td colspan=3 class='$form_7_class'>$form_7_error</td></tr>";
}
if ($form_7_spam >= 3)  sleep(20);
if ($form_7_spam >= 3) $select_109_checked='0';

if ($form_7_spam >= 3) $select_110_checked='0';

if ($form_7_spam >= 3) $form_7_td_42_value='';

if ($form_7_spam >= 3) $form_7_td_43_value='';

if ($form_7_spam >= 3) $form_7_td_45_value='';

if ($form_7_spam >= 3) $form_7_td_44_value='';

if ($form_7_spam >= 3) $form_7_td_46_value='';


?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Rivers Critters Ranch Home</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >
<meta name="description" content="Rivers Critters Ranch is a family farm located in central Minnesota. We raise Olde English Babydoll Sheep, sell organic chicken and animal feed." >
<meta name="keywords" content="Rivers, Rivers Critters, Organic, MN, Hobby Farm, Organic Feed, Feedstore" >
<meta name="GENERATOR" content="Ewisoft Website Builder eCommerce Software from http://www.ewisoft.com/" >
<LINK rel="stylesheet" type="text/css" href="./user/ecommerce-css/e_list_view.css" >
<LINK rel="stylesheet" type="text/css" href="./user/ecommerce-css/e_detail_view.css" >
<LINK rel="stylesheet" type="text/css" href="./user/ecommerce-css/e_grid_view.css" >
<link href="./usertpl/1vg104-simple/stylesheet.css" rel="stylesheet" type="text/css" >
<style type="text/css" >
<!--

--></style><link rel="stylesheet" type="text/css" href="./user/g-css-js/form-7.css" />
<script language="javascript" type="text/javascript" src="./user/g-css-js/form-7.js" ></script><script language="javascript" type="text/javascript" src="./user/g-css-js/common-form.js" ></script> <script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-34790053-1']);
  _gaq.push(['_setDomainName', 'riverscritters.com']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script></head>
<body bgcolor="#7A7C70" >
<table class="tablewidth" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="logobk" >
<tr>
<td width="370" >
<div align="center" valign="middle" ><a href="index.htm" ><img src="./user/gimage/RCR-Logo-TRR-v3_gif_108_97.png" width="108" height="97" alt="Rivers Critters Ranch Hamburg MN" align="center" style="text-align:center;vertical-align:middle;" border="0" ></a></div></td>
<td><P align="center" ><STRONG><FONT size="3" >Welcome to Rivers Critters Ranch</FONT></STRONG></P>
<FORM method="post" action="http://www.riverscritters.com/search.php" >
<P align="right" ><INPUT name="q" >
<INPUT value="Search" type="submit" name="search" ></P></FORM></td></tr></table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td width="50%" valign="top" ><table width="100%" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td valign="top" class="bannerbk" ><P align="center" ><a href="./user/cimage/100_1289.JPG" target="_blank" ><img src="./user/gimage/100_1289_368_278.JPG" width="368" height="278" alt="Free Range Broiler Chickens 6 Weeks Old, (c) Rivers Critters Ranch, LLC" target="_blank" border="0" ></a></P>
<P align="center" ><FONT size="3" face="Palatino Linotype" >Six Week Old Free Range Chickens <BR>enjoying pasture</FONT></P></td></tr></table></td>
<td width="50%" valign="top" class="nav1background" ><br>
<br>
<table width="75%" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td height="35" class="nav1bk" ><a href="index.htm" target="_self" class="nav1" >Home</a></td></tr>
<tr>
<td height="35" class="nav1bk" ><a href="Sheep.htm" target="_self" class="nav1" >Olde English Babydoll Sheep</a></td></tr>
<tr>
<td height="35" class="nav1bk" ><a href="farmanimalspeacocks.htm" target="_self" class="nav1" >Peacocks</a></td></tr>
<tr>
<td height="35" class="nav1activebk" ><a href="FreeRangeChickens.htm" target="_self" class="nav1active" >Free Range Chickens</a></td></tr>
<tr>
<td height="35" class="nav1bk" ><a href="organicfeed.htm" target="_self" class="nav1" >Organic Feed</a></td></tr>
<tr>
<td height="35" class="nav1bk" ><a href="donkeys.htm" target="_self" class="nav1" >Donkeys</a></td></tr>
<tr>
<td height="35" class="nav1bk" ><a href="viewsfromthefarm.htm" target="_self" class="nav1" >Views From The Farm</a></td></tr>
<tr>
<td height="35" class="nav1bk" ><a href="ThoughtsFromTheFarm.htm" target="_self" class="nav1" >Thoughts From The Farm</a></td></tr>
<tr>
<td height="35" class="nav1bk" ><a href="rivers-critters-store.htm" target="_self" class="nav1" >Rivers Critters Store</a></td></tr></table></td></tr></table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td class="nav2bk" >
<a href="pasturedpoultry.htm" target="_self" class="nav2" >Pastured Poultry</a><a href="FreeRangePictures.htm" target="_self" class="nav2" >Raising Free Range Chickens</a><a href="order-chickens.php" target="_self" class="nav2active" >Order Chickens</a><a href="typeschickens.htm" target="_self" class="nav2" >Types of Chickens</a></td></tr></table>
<table width="100%" border="0" align="center" cellpadding="15" cellspacing="0" >
<tr>
<td valign="top" class="contentbk" ><H1>Order Your Free Range Chickens</H1>
<P align="left" ><a href="./user/cimage/chicken-broiler-Princess.jpg" target="_blank" ><img src="./user/gimage/chicken-broiler-Princess_200_181.jpg" width="200" height="181" style="TEXT-ALIGN: left" alt="Organic Raised Free Range Broiler chicken" align="left" target="_blank" border="0" ></a>It doesn't get any better than chicken raised on pasture.&nbsp; Our birds are lean, firm and flavorful due to the healthy environment of fresh air, water and pasture.&nbsp; All our poultry are fed certified organic grains.&nbsp; They never receive any antibiotics or hormones.&nbsp;All our birds are processed in a Minnesota State inspected plant.<BR><I><FONT color="#ff0000" ><BR>Only available to consumers in Minnesota<BR></P>
<P align="left" >
<form id="ewisoft_form-7" name="Chicken" method="post" action="#" onsubmit="return onsubmit_form_7();" >
<input type="hidden" name="form_7_submit" value="hovCJQX4" >
<table cellpadding="2" cellspacing="0" border="0" >
<? echo $form_7_error ?>
<tr><td align="left" valign="top" class="form_7_td_48" colspan="2" >I'm Interested In Placing An Order</td><td id="form_7_info_td_48" class="<? echo $form_7_td_48_class ?>" ><? echo $form_7_td_48_error ?></td></tr>
<tr><td class="form_7_td" >How should we contact you?</td><td class="form_7_td" ><select name="Howshouldwecontactyou" ><option value="<? echo $select_109_value ?>" <? if ( 1 == $select_109_checked ) echo ' selected=selected '; ?>>Call Me</option>
<option value="<? echo $select_110_value ?>" <? if ( 1 == $select_110_checked ) echo ' selected=selected '; ?>>eMail Me</option></select></td><td id="form_7_info_td_49" class="<? echo $form_7_td_49_class ?>" ><? echo $form_7_td_49_error ?></td></tr>
<tr><td class="form_7_td_42" >Name:</td><td class="form_7_td" ><input type="text" name="Name" value="<? echo $form_7_td_42_value ?>" onchange="validate_form_7_input_42(false);" /></td><td id="form_7_info_td_42" class="<? echo $form_7_td_42_class ?>" ><? echo $form_7_td_42_error ?></td></tr>
<tr><td class="form_7_td_43" >Email:</td><td class="form_7_td" ><input type="text" name="Email" value="<? echo $form_7_td_43_value ?>" onchange="validate_form_7_input_43(false);" /></td><td id="form_7_info_td_43" class="<? echo $form_7_td_43_class ?>" ><? echo $form_7_td_43_error ?></td></tr>
<tr><td class="form_7_td" >Telephone:</td><td class="form_7_td" ><input type="text" name="Telephone" value="<? echo $form_7_td_45_value ?>" onchange="validate_form_7_input_45(false);" /></td><td id="form_7_info_td_45" class="<? echo $form_7_td_45_class ?>" ><? echo $form_7_td_45_error ?></td></tr>
<tr><td class="form_7_td" >Address:</td><td class="form_7_td" ><textarea name="Address" ><? echo $form_7_td_44_value ?></textarea></td><td id="form_7_info_td_44" class="<? echo $form_7_td_44_class ?>" ><? echo $form_7_td_44_error ?></td></tr>
<tr><td class="form_7_td" >Comments:</td><td class="form_7_td" ><textarea name="Comments" ><? echo $form_7_td_46_value ?></textarea></td><td id="form_7_info_td_46" class="<? echo $form_7_td_46_class ?>" ><? echo $form_7_td_46_error ?></td></tr>
<tr><td align="center" class="form_7_td" colspan="2" ><input type="submit" value="Submit" /></td><td id="form_7_info_td_47" class="form_7_info" >&nbsp;</td></tr></table></form></P></FONT></I></td></tr></table>
<table width="100%" height="75" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td width="50%" class="copyrightbk" ><div align="center" class="copyright" >Copyright 2018 &copy; Rivers Critters Ranch, LLC. All rights reserved.<br>This website was powered by Ewisoft <a href="http://www.ewisoft.com/" target="_blank" class="link7984" >eCommerce Website Builder</a>.</div></td>
<td class="footerbk" ><div align="center" >
<P><STRONG>For More Information Contact</STRONG>:</P>
<P>Rivers Critters Ranch<BR>Hamburg, MN&nbsp; 55339&nbsp;<BR>763-442-5894&nbsp;<BR>
<A href="mailto:[email protected]" >[email protected]</A></P></div></td></tr></table></td></tr></table></body></html>

Function Calls

my_get_post 1
get_magic_quotes_gpc 1

Variables

$name form_7_submit
$escape None
$var_read None
$form_7_spam 0
$form_7_class form_7_error
$form_7_error
$select_109_value CallMe
$select_110_value eMailMe
$form_7_td_42_class form_7_info
$form_7_td_42_error &nbsp;
$form_7_td_42_value
$form_7_td_43_class form_7_info
$form_7_td_43_error &nbsp;
$form_7_td_43_value
$form_7_td_44_class form_7_info
$form_7_td_44_error &nbsp;
$form_7_td_44_value
$form_7_td_45_class form_7_info
$form_7_td_45_error &nbsp;
$form_7_td_45_value
$form_7_td_46_class form_7_info
$form_7_td_46_error &nbsp;
$form_7_td_46_value
$form_7_td_49_class form_7_info
$form_7_td_49_error &nbsp;
$select_109_checked 0
$select_110_checked 0

Stats

MD5 f5974eac2cc3d374b12d405b26980ade
Eval Count 0
Decode Time 203 ms