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_8_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_8_class='form_8_error';
$form_8_error='';
  $form_8_spam=0;
  
$form_8_td_57_class='form_8_info';
$form_8_td_57_error='&nbsp;';
$select_125_value='ChickenLayerStarterGrower';
$select_125_checked='0';
$select_126_value='Sheep';
$select_126_checked='0';
$select_128_value='Goat';
$select_128_checked='0';
$select_129_value='Horse';
$select_129_checked='0';
$select_130_value='CowCalf';
$select_130_checked='0';
$select_131_value='Hog';
$select_131_checked='0';
$select_132_value='GrainsorMinerals';
$select_132_checked='0';

$form_8_td_50_class='form_8_info';
$form_8_td_50_error='&nbsp;';
$form_8_td_50_value='';

$form_8_td_51_class='form_8_info';
$form_8_td_51_error='&nbsp;';
$form_8_td_51_value='';

$form_8_td_53_class='form_8_info';
$form_8_td_53_error='&nbsp;';
$form_8_td_53_value='';

$form_8_td_54_class='form_8_info';
$form_8_td_54_error='&nbsp;';
$form_8_td_54_value='';

$form_8_td_52_class='form_8_info';
$form_8_td_52_error='&nbsp;';
$form_8_td_52_value='';


if ('ithnaipt'==my_get_post('form_8_submit'))
{
$form_8_error_string='There are errors which need correction.';
$form_8_td_57_error_class='form_8_error';

$form_8_body.='Iaminterestedin_1 : '.my_get_post('Iaminterestedin_1')."
";
if (my_get_post('Iaminterestedin_1') == $select_125_value) $select_125_checked=1; else $select_125_checked=0;
$form_8_body.='Iaminterestedin_2 : '.my_get_post('Iaminterestedin_2')."
";
if (my_get_post('Iaminterestedin_2') == $select_126_value) $select_126_checked=1; else $select_126_checked=0;
$form_8_body.='Iaminterestedin_3 : '.my_get_post('Iaminterestedin_3')."
";
if (my_get_post('Iaminterestedin_3') == $select_128_value) $select_128_checked=1; else $select_128_checked=0;
$form_8_body.='Iaminterestedin_4 : '.my_get_post('Iaminterestedin_4')."
";
if (my_get_post('Iaminterestedin_4') == $select_129_value) $select_129_checked=1; else $select_129_checked=0;
$form_8_body.='Iaminterestedin_5 : '.my_get_post('Iaminterestedin_5')."
";
if (my_get_post('Iaminterestedin_5') == $select_130_value) $select_130_checked=1; else $select_130_checked=0;
$form_8_body.='Iaminterestedin_6 : '.my_get_post('Iaminterestedin_6')."
";
if (my_get_post('Iaminterestedin_6') == $select_131_value) $select_131_checked=1; else $select_131_checked=0;
$form_8_body.='Iaminterestedin_7 : '.my_get_post('Iaminterestedin_7')."
";
if (my_get_post('Iaminterestedin_7') == $select_132_value) $select_132_checked=1; else $select_132_checked=0;

$form_8_td_50_error_class='form_8_error';
$form_8_td_50_error_must='Error: This field is required!';
$form_8_td_50_error_spam='Error: http: < > are not allowed!';


$form_8_td_50_value=my_get_post('Name' ,true);
$form_8_body.='Name : '.my_get_post('Name')."
";


if (''==trim(my_get_post('Name'))) {$form_8_td_50_class=$form_8_td_50_error_class; $form_8_td_50_error=$form_8_td_50_error_must; $form_8_error=$form_8_error_string;}
  

$form_8_td_50_spam=form_8_count_spam(my_get_post('Name'));
if ($form_8_td_50_spam>0)
{
  if ($form_8_td_50_class!=$form_8_td_50_error_class) {$form_8_td_50_class=$form_8_td_50_error_class; $form_8_td_50_error=$form_8_td_50_error_spam; $form_8_error=$form_8_error_string;}
  $form_8_spam += $form_8_td_50_spam;
}
  
$form_8_td_51_error_class='form_8_error';
$form_8_td_51_error_must='Error: This field is required!';
$form_8_td_51_error_validation='Error: This field must be an email!';
$form_8_td_51_error_spam='Error: http: < > are not allowed!';


$form_8_td_51_value=my_get_post('Email' ,true);
$form_8_body.='Email : '.my_get_post('Email')."
";


if (''==trim(my_get_post('Email'))) {$form_8_td_51_class=$form_8_td_51_error_class; $form_8_td_51_error=$form_8_td_51_error_must; $form_8_error=$form_8_error_string;}
  

if ($form_8_td_51_class!=$form_8_td_51_error_class && ''!=trim(my_get_post('Email')) && !isEmail(my_get_post('Email'))) {$form_8_td_51_class=$form_8_td_51_error_class; $form_8_td_51_error=$form_8_td_51_error_validation; $form_8_error=$form_8_error_string;}
  

$form_8_td_51_spam=form_8_count_spam(my_get_post('Email'));
if ($form_8_td_51_spam>0)
{
  if ($form_8_td_51_class!=$form_8_td_51_error_class) {$form_8_td_51_class=$form_8_td_51_error_class; $form_8_td_51_error=$form_8_td_51_error_spam; $form_8_error=$form_8_error_string;}
  $form_8_spam += $form_8_td_51_spam;
}
  
$form_8_td_53_error_class='form_8_error';
$form_8_td_53_error_spam='Error: http: < > are not allowed!';


$form_8_td_53_value=my_get_post('Telephone' ,true);
$form_8_body.='Telephone : '.my_get_post('Telephone')."
";


$form_8_td_53_spam=form_8_count_spam(my_get_post('Telephone'));
if ($form_8_td_53_spam>0)
{
  if ($form_8_td_53_class!=$form_8_td_53_error_class) {$form_8_td_53_class=$form_8_td_53_error_class; $form_8_td_53_error=$form_8_td_53_error_spam; $form_8_error=$form_8_error_string;}
  $form_8_spam += $form_8_td_53_spam;
}
  
$form_8_td_54_error_class='form_8_error';
$form_8_td_54_error_spam='Error: http: < > are not allowed!';


$form_8_td_54_value=my_get_post('Comments' ,true);
$form_8_body.='Comments : '.my_get_post('Comments')."
";


$form_8_td_54_spam=form_8_count_spam(my_get_post('Comments'));
if ($form_8_td_54_spam>0)
{
  if ($form_8_td_54_class!=$form_8_td_54_error_class) {$form_8_td_54_class=$form_8_td_54_error_class; $form_8_td_54_error=$form_8_td_54_error_spam; $form_8_error=$form_8_error_string;}
  $form_8_spam += $form_8_td_54_spam;
}
  
$form_8_td_52_error_class='form_8_error';
$form_8_td_52_error_spam='Error: http: < > are not allowed!';


$form_8_td_52_value=my_get_post('Address' ,true);
$form_8_body.='Address : '.my_get_post('Address')."
";


$form_8_td_52_spam=form_8_count_spam(my_get_post('Address'));
if ($form_8_td_52_spam>0)
{
  if ($form_8_td_52_class!=$form_8_td_52_error_class) {$form_8_td_52_class=$form_8_td_52_error_class; $form_8_td_52_error=$form_8_td_52_error_spam; $form_8_error=$form_8_error_string;}
  $form_8_spam += $form_8_td_52_spam;
}
  

if (''==trim($form_8_error) && 0==$form_8_spam)
{
$receiver='[email protected]';
$subject='RCR Feed Request';
if (isEmail( $form_8_td_51_value )) $header='From: '.$form_8_td_51_value;

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

  $body=str_replace("
.", "
..", $form_8_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_8_error)) $form_8_error="<tr><td colspan=3 class='$form_8_class'>$form_8_error</td></tr>";
}
if ($form_8_spam >= 3)  sleep(20);
if ($form_8_spam >= 3) $select_125_checked='0';

if ($form_8_spam >= 3) $select_126_checked='0';

if ($form_8_spam >= 3) $select_128_checked='0';

if ($form_8_spam >= 3) $select_129_checked='0';

if ($form_8_spam >= 3) $select_130_checked='0';

if ($form_8_spam >= 3) $select_131_checked='0';

if ($form_8_spam >= 3) $select_132_checked='0';

if ($form_8_spam >= 3) $form_8_td_50_value='';

if ($form_8_spam >= 3) $form_8_td_51_value='';

if ($form_8_spam >= 3) $form_8_td_53_value='';

if ($form_8_spam >= 3) $form_8_td_54_value='';

if ($form_8_spam >= 3) $form_8_td_52_value='';


?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>RCR Organic Feeds</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >
<meta name="description" content="Rivers Critters Ranch, a MN hobby farm is committed to using and selling organic feed. We are the Minnesota source for organic animal feed including layer, turkey, horse, sheep, goat, cow, hog and we carry a full line of organic grains. All are USDA certified." >
<meta name="keywords" content="Organic Feed, Organic Feed Store, MN, Minnesota, Organic Layer, Organic Sheep, Organic Horse, No Soy, Animal Feed, Cashton Feed, Cashton Farm Supply" >
<meta name="GENERATOR" content="Ewisoft Website Builder eCommerce Software from http://www.ewisoft.com/" >
<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-8.css" />
<script language=javascript type="text/javascript" src="./user/g-css-js/form-8.js" ></script><script language="javascript" type="text/javascript" src="./user/g-css-js/common-form.js" ></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=left valign=top ><a href="p1.htm" ><img src="./user/gimage/Rivers-Critters-April-2013-006_191_143.jpg" width=191 height=143 alt="Rivers Critters Ranch Hamburg MN" align=left style="text-align:left;vertical-align:top;" 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><img src="./user/gimage/April-2009-007_450_300.jpg" width=450 height=300 alt="Sheep And Llamas enjoying organic feed (C) Riverscritters LLC" align=top border=0 >&nbsp;&nbsp;&nbsp;</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="p1.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="FreeRangeChickens.htm" target="_self" class=nav1 >Free Range Chickens</a></td></tr>
<tr>
<td height=35 class=nav1activebk ><a href="organic-feed.htm" target="_self" class=nav1active >Organic Feed</a></td></tr>
<tr>
<td height=35 class=nav1bk ><a href="views-from-the-farm.htm" target="_self" class=nav1 >Views From The Farm</a></td></tr>
<tr>
<td height=35 class=nav1bk ><a href="fresh-from-the-farm.htm" target="_self" class=nav1 >Thoughts From The Farm</a></td></tr>
<tr>
<td height=35 class=nav1bk ><a href="farm-animals.htm" target="_self" class=nav1 >Peacocks</a></td></tr>
<tr>
<td height=35 class=nav1bk ><a href="store.htm" target="_self" class=nav1 >Store</a></td></tr>
<tr>
<td height=35 class=nav1bk ><a href="amazon-store-closed.htm" target="_self" class=nav1 >Amazon Store Closed</a></td></tr></table></td></tr></table>
<table width="100%" border=0 align=center cellpadding=0 cellspacing=0 >
<tr>
<td class=nav2bk >
<a href="organic-feed-list.php" target="_self" class=nav2active >Organic Feed List</a><a href="hay.htm" target="_self" class=nav2 >Hay</a></td></tr></table>
<table width="100%" border=0 align=center cellpadding=15 cellspacing=0 >
<tr>
<td valign=top class=contentbk ><H1>RCR Organic Feed Listing</H1>
<P>Have you been looking for a good source of organic certified animal feed?&nbsp; Our <A href="http://www.organicfeedstore.com" >organic feedstore</A> carries a full line of USDA certified organic animal feed and grains.&nbsp;&nbsp; Fill out the form below or visit our feedstore at <A href="http://www.organicfeedstore.com" target="_blank" >www.organicfeedstore.com</A>&nbsp;&nbsp; What sets us apart is that we sell what we use!</P>
<P><img src="./user/gimage/CFS-Starter_140_257.jpg" width=140 height=257 align=left border=0 >
<form id="ewisoft_form-8" name=Feed method=post action="#" onsubmit="return onsubmit_form_8();" >
<input type=hidden name="form_8_submit" value=ithnaipt >
<table cellpadding=2 cellspacing=0 border=0 >
<? echo $form_8_error ?>
<tr><td class="form_8_td_56" colspan=2 >Listing of Organic Feed We Carry</td><td id="form_8_info_td_56" class="<? echo $form_8_td_56_class ?>" ><? echo $form_8_td_56_error ?></td></tr>
<tr><td class="form_8_td" colspan=2 ><label for="select_125" ><input type=checkbox name="Iaminterestedin_1" value="<? echo $select_125_value ?>" id="select_125" <? if ( 1 == $select_125_checked ) echo ' checked=checked '; ?> />Chicken-Layer, Starter, Grower</label><br>
<label for="select_126" ><input type=checkbox name="Iaminterestedin_2" value="<? echo $select_126_value ?>" id="select_126" <? if ( 1 == $select_126_checked ) echo ' checked=checked '; ?> />Sheep</label><br>
<label for="select_128" ><input type=checkbox name="Iaminterestedin_3" value="<? echo $select_128_value ?>" id="select_128" <? if ( 1 == $select_128_checked ) echo ' checked=checked '; ?> />Goat</label><br>
<label for="select_129" ><input type=checkbox name="Iaminterestedin_4" value="<? echo $select_129_value ?>" id="select_129" <? if ( 1 == $select_129_checked ) echo ' checked=checked '; ?> />Horse</label><br>
<label for="select_130" ><input type=checkbox name="Iaminterestedin_5" value="<? echo $select_130_value ?>" id="select_130" <? if ( 1 == $select_130_checked ) echo ' checked=checked '; ?> />Cow/Calf</label><br>
<label for="select_131" ><input type=checkbox name="Iaminterestedin_6" value="<? echo $select_131_value ?>" id="select_131" <? if ( 1 == $select_131_checked ) echo ' checked=checked '; ?> />Hog</label><br>
<label for="select_132" ><input type=checkbox name="Iaminterestedin_7" value="<? echo $select_132_value ?>" id="select_132" <? if ( 1 == $select_132_checked ) echo ' checked=checked '; ?> />Grains or Minerals</label></td><td id="form_8_info_td_57" class="<? echo $form_8_td_57_class ?>" ><? echo $form_8_td_57_error ?></td></tr>
<tr><td class="form_8_td_50" >Name:</td><td class="form_8_td" ><input type=text name=Name value="<? echo $form_8_td_50_value ?>" onchange="validate_form_8_input_50(false);" /></td><td id="form_8_info_td_50" class="<? echo $form_8_td_50_class ?>" ><? echo $form_8_td_50_error ?></td></tr>
<tr><td class="form_8_td_51" >Email:</td><td class="form_8_td" ><input type=text name=Email value="<? echo $form_8_td_51_value ?>" onchange="validate_form_8_input_51(false);" /></td><td id="form_8_info_td_51" class="<? echo $form_8_td_51_class ?>" ><? echo $form_8_td_51_error ?></td></tr>
<tr><td class="form_8_td" >Telephone:</td><td class="form_8_td" ><input type=text name=Telephone value="<? echo $form_8_td_53_value ?>" onchange="validate_form_8_input_53(false);" /></td><td id="form_8_info_td_53" class="<? echo $form_8_td_53_class ?>" ><? echo $form_8_td_53_error ?></td></tr>
<tr><td class="form_8_td" >Comments:</td><td class="form_8_td" ><textarea name=Comments ><? echo $form_8_td_54_value ?></textarea></td><td id="form_8_info_td_54" class="<? echo $form_8_td_54_class ?>" ><? echo $form_8_td_54_error ?></td></tr>
<tr><td class="form_8_td" >Address:</td><td class="form_8_td" ><textarea name=Address ><? echo $form_8_td_52_value ?></textarea></td><td id="form_8_info_td_52" class="<? echo $form_8_td_52_class ?>" ><? echo $form_8_td_52_error ?></td></tr>
<tr><td align=center class="form_8_td" colspan=2 ><input type=submit value=Submit /></td><td id="form_8_info_td_55" class="form_8_info" >&nbsp;</td></tr></table></form>Feed is sold in 50 pound bags.&nbsp; Prices are subject to change.</P></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 2013 &copy; Rivers Critters Ranch, LLC. All rights reserved.<br>This website was built 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>Spring is the time to start your chickens, visit our <A href="http://www.organicfeedstore.com" >feed store</A> for more information on raising and growing free range chickens.</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_8_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_8_class='form_8_error';
$form_8_error='';
  $form_8_spam=0;
  
$form_8_td_57_class='form_8_info';
$form_8_td_57_error='&nbsp;';
$select_125_value='ChickenLayerStarterGrower';
$select_125_checked='0';
$select_126_value='Sheep';
$select_126_checked='0';
$select_128_value='Goat';
$select_128_checked='0';
$select_129_value='Horse';
$select_129_checked='0';
$select_130_value='CowCalf';
$select_130_checked='0';
$select_131_value='Hog';
$select_131_checked='0';
$select_132_value='GrainsorMinerals';
$select_132_checked='0';

$form_8_td_50_class='form_8_info';
$form_8_td_50_error='&nbsp;';
$form_8_td_50_value='';

$form_8_td_51_class='form_8_info';
$form_8_td_51_error='&nbsp;';
$form_8_td_51_value='';

$form_8_td_53_class='form_8_info';
$form_8_td_53_error='&nbsp;';
$form_8_td_53_value='';

$form_8_td_54_class='form_8_info';
$form_8_td_54_error='&nbsp;';
$form_8_td_54_value='';

$form_8_td_52_class='form_8_info';
$form_8_td_52_error='&nbsp;';
$form_8_td_52_value='';


if ('ithnaipt'==my_get_post('form_8_submit'))
{
$form_8_error_string='There are errors which need correction.';
$form_8_td_57_error_class='form_8_error';

$form_8_body.='Iaminterestedin_1 : '.my_get_post('Iaminterestedin_1')."\r\n";
if (my_get_post('Iaminterestedin_1') == $select_125_value) $select_125_checked=1; else $select_125_checked=0;
$form_8_body.='Iaminterestedin_2 : '.my_get_post('Iaminterestedin_2')."\r\n";
if (my_get_post('Iaminterestedin_2') == $select_126_value) $select_126_checked=1; else $select_126_checked=0;
$form_8_body.='Iaminterestedin_3 : '.my_get_post('Iaminterestedin_3')."\r\n";
if (my_get_post('Iaminterestedin_3') == $select_128_value) $select_128_checked=1; else $select_128_checked=0;
$form_8_body.='Iaminterestedin_4 : '.my_get_post('Iaminterestedin_4')."\r\n";
if (my_get_post('Iaminterestedin_4') == $select_129_value) $select_129_checked=1; else $select_129_checked=0;
$form_8_body.='Iaminterestedin_5 : '.my_get_post('Iaminterestedin_5')."\r\n";
if (my_get_post('Iaminterestedin_5') == $select_130_value) $select_130_checked=1; else $select_130_checked=0;
$form_8_body.='Iaminterestedin_6 : '.my_get_post('Iaminterestedin_6')."\r\n";
if (my_get_post('Iaminterestedin_6') == $select_131_value) $select_131_checked=1; else $select_131_checked=0;
$form_8_body.='Iaminterestedin_7 : '.my_get_post('Iaminterestedin_7')."\r\n";
if (my_get_post('Iaminterestedin_7') == $select_132_value) $select_132_checked=1; else $select_132_checked=0;

$form_8_td_50_error_class='form_8_error';
$form_8_td_50_error_must='Error: This field is required!';
$form_8_td_50_error_spam='Error: http: < > are not allowed!';


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


if (''==trim(my_get_post('Name'))) {$form_8_td_50_class=$form_8_td_50_error_class; $form_8_td_50_error=$form_8_td_50_error_must; $form_8_error=$form_8_error_string;}
  

$form_8_td_50_spam=form_8_count_spam(my_get_post('Name'));
if ($form_8_td_50_spam>0)
{
  if ($form_8_td_50_class!=$form_8_td_50_error_class) {$form_8_td_50_class=$form_8_td_50_error_class; $form_8_td_50_error=$form_8_td_50_error_spam; $form_8_error=$form_8_error_string;}
  $form_8_spam += $form_8_td_50_spam;
}
  
$form_8_td_51_error_class='form_8_error';
$form_8_td_51_error_must='Error: This field is required!';
$form_8_td_51_error_validation='Error: This field must be an email!';
$form_8_td_51_error_spam='Error: http: < > are not allowed!';


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


if (''==trim(my_get_post('Email'))) {$form_8_td_51_class=$form_8_td_51_error_class; $form_8_td_51_error=$form_8_td_51_error_must; $form_8_error=$form_8_error_string;}
  

if ($form_8_td_51_class!=$form_8_td_51_error_class && ''!=trim(my_get_post('Email')) && !isEmail(my_get_post('Email'))) {$form_8_td_51_class=$form_8_td_51_error_class; $form_8_td_51_error=$form_8_td_51_error_validation; $form_8_error=$form_8_error_string;}
  

$form_8_td_51_spam=form_8_count_spam(my_get_post('Email'));
if ($form_8_td_51_spam>0)
{
  if ($form_8_td_51_class!=$form_8_td_51_error_class) {$form_8_td_51_class=$form_8_td_51_error_class; $form_8_td_51_error=$form_8_td_51_error_spam; $form_8_error=$form_8_error_string;}
  $form_8_spam += $form_8_td_51_spam;
}
  
$form_8_td_53_error_class='form_8_error';
$form_8_td_53_error_spam='Error: http: < > are not allowed!';


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


$form_8_td_53_spam=form_8_count_spam(my_get_post('Telephone'));
if ($form_8_td_53_spam>0)
{
  if ($form_8_td_53_class!=$form_8_td_53_error_class) {$form_8_td_53_class=$form_8_td_53_error_class; $form_8_td_53_error=$form_8_td_53_error_spam; $form_8_error=$form_8_error_string;}
  $form_8_spam += $form_8_td_53_spam;
}
  
$form_8_td_54_error_class='form_8_error';
$form_8_td_54_error_spam='Error: http: < > are not allowed!';


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


$form_8_td_54_spam=form_8_count_spam(my_get_post('Comments'));
if ($form_8_td_54_spam>0)
{
  if ($form_8_td_54_class!=$form_8_td_54_error_class) {$form_8_td_54_class=$form_8_td_54_error_class; $form_8_td_54_error=$form_8_td_54_error_spam; $form_8_error=$form_8_error_string;}
  $form_8_spam += $form_8_td_54_spam;
}
  
$form_8_td_52_error_class='form_8_error';
$form_8_td_52_error_spam='Error: http: < > are not allowed!';


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


$form_8_td_52_spam=form_8_count_spam(my_get_post('Address'));
if ($form_8_td_52_spam>0)
{
  if ($form_8_td_52_class!=$form_8_td_52_error_class) {$form_8_td_52_class=$form_8_td_52_error_class; $form_8_td_52_error=$form_8_td_52_error_spam; $form_8_error=$form_8_error_string;}
  $form_8_spam += $form_8_td_52_spam;
}
  

if (''==trim($form_8_error) && 0==$form_8_spam)
{
$receiver='[email protected]';
$subject='RCR Feed Request';
if (isEmail( $form_8_td_51_value )) $header='From: '.$form_8_td_51_value;

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

  $body=str_replace("\n.", "\n..", $form_8_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_8_error)) $form_8_error="<tr><td colspan=3 class='$form_8_class'>$form_8_error</td></tr>";
}
if ($form_8_spam >= 3)  sleep(20);
if ($form_8_spam >= 3) $select_125_checked='0';

if ($form_8_spam >= 3) $select_126_checked='0';

if ($form_8_spam >= 3) $select_128_checked='0';

if ($form_8_spam >= 3) $select_129_checked='0';

if ($form_8_spam >= 3) $select_130_checked='0';

if ($form_8_spam >= 3) $select_131_checked='0';

if ($form_8_spam >= 3) $select_132_checked='0';

if ($form_8_spam >= 3) $form_8_td_50_value='';

if ($form_8_spam >= 3) $form_8_td_51_value='';

if ($form_8_spam >= 3) $form_8_td_53_value='';

if ($form_8_spam >= 3) $form_8_td_54_value='';

if ($form_8_spam >= 3) $form_8_td_52_value='';


?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>RCR Organic Feeds</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" >
<meta name="description" content="Rivers Critters Ranch, a MN hobby farm is committed to using and selling organic feed. We are the Minnesota source for organic animal feed including layer, turkey, horse, sheep, goat, cow, hog and we carry a full line of organic grains. All are USDA certified." >
<meta name="keywords" content="Organic Feed, Organic Feed Store, MN, Minnesota, Organic Layer, Organic Sheep, Organic Horse, No Soy, Animal Feed, Cashton Feed, Cashton Farm Supply" >
<meta name="GENERATOR" content="Ewisoft Website Builder eCommerce Software from http://www.ewisoft.com/" >
<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-8.css" />
<script language=javascript type="text/javascript" src="./user/g-css-js/form-8.js" ></script><script language="javascript" type="text/javascript" src="./user/g-css-js/common-form.js" ></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=left valign=top ><a href="p1.htm" ><img src="./user/gimage/Rivers-Critters-April-2013-006_191_143.jpg" width=191 height=143 alt="Rivers Critters Ranch Hamburg MN" align=left style="text-align:left;vertical-align:top;" 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><img src="./user/gimage/April-2009-007_450_300.jpg" width=450 height=300 alt="Sheep And Llamas enjoying organic feed (C) Riverscritters LLC" align=top border=0 >&nbsp;&nbsp;&nbsp;</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="p1.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="FreeRangeChickens.htm" target="_self" class=nav1 >Free Range Chickens</a></td></tr>
<tr>
<td height=35 class=nav1activebk ><a href="organic-feed.htm" target="_self" class=nav1active >Organic Feed</a></td></tr>
<tr>
<td height=35 class=nav1bk ><a href="views-from-the-farm.htm" target="_self" class=nav1 >Views From The Farm</a></td></tr>
<tr>
<td height=35 class=nav1bk ><a href="fresh-from-the-farm.htm" target="_self" class=nav1 >Thoughts From The Farm</a></td></tr>
<tr>
<td height=35 class=nav1bk ><a href="farm-animals.htm" target="_self" class=nav1 >Peacocks</a></td></tr>
<tr>
<td height=35 class=nav1bk ><a href="store.htm" target="_self" class=nav1 >Store</a></td></tr>
<tr>
<td height=35 class=nav1bk ><a href="amazon-store-closed.htm" target="_self" class=nav1 >Amazon Store Closed</a></td></tr></table></td></tr></table>
<table width="100%" border=0 align=center cellpadding=0 cellspacing=0 >
<tr>
<td class=nav2bk >
<a href="organic-feed-list.php" target="_self" class=nav2active >Organic Feed List</a><a href="hay.htm" target="_self" class=nav2 >Hay</a></td></tr></table>
<table width="100%" border=0 align=center cellpadding=15 cellspacing=0 >
<tr>
<td valign=top class=contentbk ><H1>RCR Organic Feed Listing</H1>
<P>Have you been looking for a good source of organic certified animal feed?&nbsp; Our <A href="http://www.organicfeedstore.com" >organic feedstore</A> carries a full line of USDA certified organic animal feed and grains.&nbsp;&nbsp; Fill out the form below or visit our feedstore at <A href="http://www.organicfeedstore.com" target="_blank" >www.organicfeedstore.com</A>&nbsp;&nbsp; What sets us apart is that we sell what we use!</P>
<P><img src="./user/gimage/CFS-Starter_140_257.jpg" width=140 height=257 align=left border=0 >
<form id="ewisoft_form-8" name=Feed method=post action="#" onsubmit="return onsubmit_form_8();" >
<input type=hidden name="form_8_submit" value=ithnaipt >
<table cellpadding=2 cellspacing=0 border=0 >
<? echo $form_8_error ?>
<tr><td class="form_8_td_56" colspan=2 >Listing of Organic Feed We Carry</td><td id="form_8_info_td_56" class="<? echo $form_8_td_56_class ?>" ><? echo $form_8_td_56_error ?></td></tr>
<tr><td class="form_8_td" colspan=2 ><label for="select_125" ><input type=checkbox name="Iaminterestedin_1" value="<? echo $select_125_value ?>" id="select_125" <? if ( 1 == $select_125_checked ) echo ' checked=checked '; ?> />Chicken-Layer, Starter, Grower</label><br>
<label for="select_126" ><input type=checkbox name="Iaminterestedin_2" value="<? echo $select_126_value ?>" id="select_126" <? if ( 1 == $select_126_checked ) echo ' checked=checked '; ?> />Sheep</label><br>
<label for="select_128" ><input type=checkbox name="Iaminterestedin_3" value="<? echo $select_128_value ?>" id="select_128" <? if ( 1 == $select_128_checked ) echo ' checked=checked '; ?> />Goat</label><br>
<label for="select_129" ><input type=checkbox name="Iaminterestedin_4" value="<? echo $select_129_value ?>" id="select_129" <? if ( 1 == $select_129_checked ) echo ' checked=checked '; ?> />Horse</label><br>
<label for="select_130" ><input type=checkbox name="Iaminterestedin_5" value="<? echo $select_130_value ?>" id="select_130" <? if ( 1 == $select_130_checked ) echo ' checked=checked '; ?> />Cow/Calf</label><br>
<label for="select_131" ><input type=checkbox name="Iaminterestedin_6" value="<? echo $select_131_value ?>" id="select_131" <? if ( 1 == $select_131_checked ) echo ' checked=checked '; ?> />Hog</label><br>
<label for="select_132" ><input type=checkbox name="Iaminterestedin_7" value="<? echo $select_132_value ?>" id="select_132" <? if ( 1 == $select_132_checked ) echo ' checked=checked '; ?> />Grains or Minerals</label></td><td id="form_8_info_td_57" class="<? echo $form_8_td_57_class ?>" ><? echo $form_8_td_57_error ?></td></tr>
<tr><td class="form_8_td_50" >Name:</td><td class="form_8_td" ><input type=text name=Name value="<? echo $form_8_td_50_value ?>" onchange="validate_form_8_input_50(false);" /></td><td id="form_8_info_td_50" class="<? echo $form_8_td_50_class ?>" ><? echo $form_8_td_50_error ?></td></tr>
<tr><td class="form_8_td_51" >Email:</td><td class="form_8_td" ><input type=text name=Email value="<? echo $form_8_td_51_value ?>" onchange="validate_form_8_input_51(false);" /></td><td id="form_8_info_td_51" class="<? echo $form_8_td_51_class ?>" ><? echo $form_8_td_51_error ?></td></tr>
<tr><td class="form_8_td" >Telephone:</td><td class="form_8_td" ><input type=text name=Telephone value="<? echo $form_8_td_53_value ?>" onchange="validate_form_8_input_53(false);" /></td><td id="form_8_info_td_53" class="<? echo $form_8_td_53_class ?>" ><? echo $form_8_td_53_error ?></td></tr>
<tr><td class="form_8_td" >Comments:</td><td class="form_8_td" ><textarea name=Comments ><? echo $form_8_td_54_value ?></textarea></td><td id="form_8_info_td_54" class="<? echo $form_8_td_54_class ?>" ><? echo $form_8_td_54_error ?></td></tr>
<tr><td class="form_8_td" >Address:</td><td class="form_8_td" ><textarea name=Address ><? echo $form_8_td_52_value ?></textarea></td><td id="form_8_info_td_52" class="<? echo $form_8_td_52_class ?>" ><? echo $form_8_td_52_error ?></td></tr>
<tr><td align=center class="form_8_td" colspan=2 ><input type=submit value=Submit /></td><td id="form_8_info_td_55" class="form_8_info" >&nbsp;</td></tr></table></form>Feed is sold in 50 pound bags.&nbsp; Prices are subject to change.</P></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 2013 &copy; Rivers Critters Ranch, LLC. All rights reserved.<br>This website was built 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>Spring is the time to start your chickens, visit our <A href="http://www.organicfeedstore.com" >feed store</A> for more information on raising and growing free range chickens.</P></div></td></tr></table></td></tr></table></body></html>

Function Calls

my_get_post 1
get_magic_quotes_gpc 1

Variables

$name form_8_submit
$escape None
$var_read None
$form_8_spam 0
$form_8_class form_8_error
$form_8_error
$select_125_value ChickenLayerStarterGrower
$select_126_value Sheep
$select_128_value Goat
$select_129_value Horse
$select_130_value CowCalf
$select_131_value Hog
$select_132_value GrainsorMinerals
$form_8_td_50_class form_8_info
$form_8_td_50_error &nbsp;
$form_8_td_50_value
$form_8_td_51_class form_8_info
$form_8_td_51_error &nbsp;
$form_8_td_51_value
$form_8_td_52_class form_8_info
$form_8_td_52_error &nbsp;
$form_8_td_52_value
$form_8_td_53_class form_8_info
$form_8_td_53_error &nbsp;
$form_8_td_53_value
$form_8_td_54_class form_8_info
$form_8_td_54_error &nbsp;
$form_8_td_54_value
$form_8_td_57_class form_8_info
$form_8_td_57_error &nbsp;
$select_125_checked 0
$select_126_checked 0
$select_128_checked 0
$select_129_checked 0
$select_130_checked 0
$select_131_checked 0
$select_132_checked 0

Stats

MD5 5b5c4b91967fdf32daf8535abc959ba3
Eval Count 0
Decode Time 216 ms