Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


need help w/captcha

  • Please log in to reply
2 replies to this topic

#1 12Strings


  • Members
  • 41 posts
  • Local time:04:05 AM

Posted 17 November 2015 - 12:06 AM

Hi, been awhile. I'm fighting this captcha form; it's been a battle (flaws in code)
now all looks fine but it doesn't send to email. What's the obvious prob??

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<body bgColor=#ccffff onload=doCookie() onunload="thank-you.php">

<form action="http://www.SnapHost.com/captcha/send.aspx" method="post" id="myform">
<input type="hidden" id="skip_WhereToSend" name="skip_WhereToSend"
value="ckdoublnecks@yahoo.com" />
<input type="hidden" id="skip_Subject" name="skip_Subject"
value="filled out preview" />
<input type="hidden" id="skip_WhereToReturn" name="skip_WhereToReturn"
value="http://localhost/guitars/thank-you.html" />
<input type="hidden" id="skip_SnapHostID" name="skip_SnapHostID"
value="LN8ATX4CSQPT" />

<font color=red>**</font><label for='name'>Name: </label><font color=red>**</font><br>
<input type="text" name="name" value='<?php echo htmlentities($name) ?>'>
<font color=red>**</font><label for='email'>Email: </label><font color=red>**</font><br>
<input type="text" name="email" value='<?php echo htmlentities($visitor_email) ?>'>
<label for='message'>Enter message below:</label> <br>
<textarea name="message" rows=5 cols=60><?php echo htmlentities($user_message) ?></textarea>
<table cellspacing="0" border="0" cellpadding="8"
<td colspan="2" style="padding-bottom:1px;">
<a href="http://www.snaphost.com/captcha/" alt="web page email form" 
title="dblpreview email form" >Ckdoublenecks email form</a></td></tr>
<tr valign="bottom">
<a href="#" onclick="return ReloadCaptchaImage('CaptchaImage');">
<span style="font-size:12px;">reload image</span></a><br />
<a href="http://www.snaphost.com/captcha/ReadyForms/">
<img id="CaptchaImage"
alt="dblpreview email form" style="border-width:0px;"
title="Ckdoublenecks email form"
src="http://www.SnapHost.com/captcha/CaptchaImage.aspx?id=LN8ATX4CSQPT" />
<td>  <br /><i>Enter Captcha code</i><br />
<input id="skip_CaptchaCode" name="skip_CaptchaCode" type="text"
style="width:130px; height:48px; font-size:38px;" maxlength="6" /><br />

<script type="text/javascript">
function ReloadCaptchaImage(captchaImageId)
var obj = document.getElementById(captchaImageId);
var src = obj.src;
var date = new Date();
var pos = src.indexOf('&rad=');
if (pos >= 0) { src = src.substr(0, pos);
obj.src = src + '&rad=' + date.getTime();
return false;

<input type="submit" value="Submit" name='submit'><br>

BC AdBot (Login to Remove)


#2 Billy O'Neal

Billy O'Neal

    Visual C++ STL Maintainer

  • Malware Response Team
  • 12,304 posts
  • Gender:Male
  • Location:Redmond, Washington
  • Local time:02:05 AM

Posted 19 November 2015 - 01:24 PM

Most email clients will not process a <form>. You'll need to give the user a link to the form instead.



Twitter - My statements do not establish the official position of Microsoft Corporation, and are my own personal opinion. (But you already knew that, right?)
Posted Image

#3 12Strings

  • Topic Starter

  • Members
  • 41 posts
  • Local time:04:05 AM

Posted 20 November 2015 - 12:13 PM

I'm at a loss now. I kept trying and checking all yesterday. Today, a day later, I find 15 perfect emails. Thanks for posting.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users