$value ) { $formdata.="$key = $value\r" ; } $ip=$_SERVER['REMOTE_ADDR']; $formdata.="IP = $ip\r"; $formdata=str_replace("\\'","'",$formdata); $subject = 'Salestron Contact Us'; $name = 'Salestron'; $sendtoemail = 'websales@salestron.com'; $email = 'Salestron.com '; mail("$sendtoemail","$subject","$formdata","From: $email"); echo "

Thank You.

Your information has been sent.

You will be notified within one business day.

" ; } // image if(isset($_GET['img'])) { if (2==2) { // the following code snippet will create an image containing the text // Create a 100*30 image $im = imagecreate(100, 30); // White background and blue text $bg = imagecolorallocate($im, 255, 255, 255); $textcolor = imagecolorallocate($im, 0, 0, 255); // Write the string at the top left $enc = substr(md5('icemelondawg'.$_GET['enc']), 2,$passwordlength); imagestring($im, 5, 0, 0, $enc, $textcolor); // Output the image header('Content-type: image/png'); imagepng($im); imagedestroy($im); } if (3==0) { // The following code will use an existing image and add text Header ("Content-type: image/png"); $img_handle = imageCreateFromPNG("imagecode_bg.png"); $color = ImageColorAllocate ($img_handle, 450, 450, 450); $enc = substr(md5('icemelondawg'.$_GET['enc']), 2,$passwordlength); ImageString ($img_handle, 5, 25, 13, $enc, $color); ImagePng ($img_handle); ImageDestroy ($img_handle); } // check code } elseif(isset($_POST['register'])) { // ****************************************** // put includes here and on line 81 /////////////////////////////////// include("main_left_right.htm"); session_start(); echo '

'; if($_POST['enc']==$_SESSION['enc_img']) process_form(); else { echo "The Code You Have Entered is Incorrect.
Please Try Again

"; } echo '

'; include("main_bottom.htm"); // form } else { session_start(); // generate random encryption string $enc_str = rand(1,100); $_SESSION['enc_img'] = substr(md5('icemelondawg'.$enc_str), 2,$passwordlength); $PHP_SELF="{$_SERVER['PHP_SELF']}"; ob_end_flush(); // flush all buffered data to page (because of the possible header location statement above requires no display // add include here now that session cookies set and buffer flushed // ****************************************** // put includes here and on line 47 /////////////////////////////////// $main_title='

Salestron.com Contact Us

Locate4me - Find People, Addresses, Birthday, Phones, Relatives

'; include("main_left_right.htm"); echo << function Form1_Validator(theForm) { if (theForm.subject.value == "") { alert("Please enter your comments"); theForm.subject.focus(); return (false); } if (theForm.FullName.value == "") { alert("Please enter your current full name"); theForm.FullName.focus(); return (false); } if (theForm.Street.value == "") { alert("Please enter your street address"); theForm.Street.focus(); return (false); } if (theForm.City.value == "") { alert("Please enter your city"); theForm.City.focus(); return (false); } if (theForm.State.value == "") { alert("Please enter your state"); theForm.State.focus(); return (false); } if (theForm.ZIP.value == "") { alert("Please enter your zip code"); theForm.ZIP.focus(); return (false); } if (theForm.Phone.value == "") { alert("Please enter your phone number"); theForm.Phone.focus(); return (false); } if (theForm.Email.value == "") { alert("Please enter your email address"); theForm.Email.focus(); return (false); } if (theForm.enc.value == "") { alert("Please enter your CODE"); theForm.enc.focus(); return (false); } } EOF; echo '


Enter Your Comments

Comment *** We Trace Spammers ***
  
Full Name
Street Address
City
State
ZIP
Telephone
E-mail
Enter this code:
into this box ===>
'; } ?>