Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 112
  • Last Modified:

form for site

we use a form for our site to obtain proposal request information from possible customers.  we just recently re-designed the site and tried to keep the coding for this form the same so there would be no issues.  we received a strange proposal request today that looks very suspicous.  Any idea as to why and what we can do to prevent this in the future?

Here is what we received:

Proposal Request
________________________________________
FirstName: ifchdo
LastName: ifchdo
Address: CQxyxhrVZvUdnY
City: wKrmORolgl
Email: jvlnoh@vzitkq.com
MainPhone: hFTcrwLL
AlternatePhone: XSrViNnFJVHsTVfzF
PreferredTime: Anytime
ProjectStatus: Ready to Hire
Deadline: Less than 1 week
HowDidYouHearAboutUs: hZRJex jprqvyctrbwd, [url=http://wecjwjpngoqy.com/]wecjwjpngoqy[/url], [link=http://sgauyvlgjcqa.com/]sgauyvlgjcqa[/link], http://uqbxgwjydxvb.com/ 
Comments: hZRJex jprqvyctrbwd, [url=http://wecjwjpngoqy.com/]wecjwjpngoqy[/url], [link=http://sgauyvlgjcqa.com/]sgauyvlgjcqa[/link], http://uqbxgwjydxvb.com/ 
Paint: -1

<?php include("./includes/common.php");
 
 ?>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml">
 
<head>
 
 
<title>Right Choice Painting & Construction - Proposal Request</title>
<meta name="keywords" content="painting, painting Coppell, painter, painter Coppell, painting Dallas/Fort Worth, painting Dallas, painting Fort Worth, painting 75067, painter 75067, home interior coppell, home exterior coppell, coppell painter, coppell painting, coppell construction, construction coppell, construction dallas, construction dallas fort worth, construction fort worth">
<meta name="description" content="When it comes to your home, there's only one right choice.">
<link href="style.css" rel="stylesheet" type="text/css" />
 
<script type="text/javascript">
      
/***********************************************
* Ultimate Fade-In Slideshow (v1.51): © Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
 
var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["imgs/aboutus_slidea.jpg"] //image with link syntax
fadeimages[1]=["imgs/aboutus_slideb.jpg"] //image with link syntax
 
var fadebgcolor="tan"
 
////NO need to edit beyond here/////////////
 
var fadearray=new Array() //array to cache fadeshow instances
var fadeclear=new Array() //array to cache corresponding clearinterval pointers
 
var dom=(document.getElementById) //modern dom browsers
var iebrowser=document.all
 
function fadeshow(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck=pause
this.mouseovercheck=0
this.delay=delay
this.degree=10 //initial opacity degree (10%)
this.curimageindex=0
this.nextimageindex=1
fadearray[fadearray.length]=this
this.slideshowid=fadearray.length-1
this.canvasbase="canvas"+this.slideshowid
this.curcanvas=this.canvasbase+"_0"
if (typeof displayorder!="undefined")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages=theimages
this.imageborder=parseInt(borderwidth)
this.postimages=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages[p]=new Image()
this.postimages[p].src=theimages[p][0]
}
 
var fadewidth=fadewidth+this.imageborder*2
var fadeheight=fadeheight+this.imageborder*2
 
if (iebrowser&&dom||dom) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master'+this.slideshowid+'" style="position:relative;width:'+fadewidth+'px;height:'+fadeheight+'px;overflow:hidden;"><div id="'+this.canvasbase+'_0" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor+'"></div><div id="'+this.canvasbase+'_1" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor+'"></div></div>')
else
document.write('<div><img name="defaultslide'+this.slideshowid+'" src="'+this.postimages[0].src+'"></div>')
 
if (iebrowser&&dom||dom) //if IE5+ or modern browsers such as Firefox
this.startit()
else{
this.curimageindex++
setInterval("fadearray["+this.slideshowid+"].rotateimage()", this.delay)
}
}
 
function fadepic(obj){
if (obj.degree<100){
obj.degree+=10
if (obj.tempobj.filters&&obj.tempobj.filters[0]){
if (typeof obj.tempobj.filters[0].opacity=="number") //if IE6+
obj.tempobj.filters[0].opacity=obj.degree
else //else if IE5.5-
obj.tempobj.style.filter="alpha(opacity="+obj.degree+")"
}
else if (obj.tempobj.style.MozOpacity)
obj.tempobj.style.MozOpacity=obj.degree/101
else if (obj.tempobj.style.KhtmlOpacity)
obj.tempobj.style.KhtmlOpacity=obj.degree/100
else if (obj.tempobj.style.opacity&&!obj.tempobj.filters)
obj.tempobj.style.opacity=obj.degree/101
}
else{
clearInterval(fadeclear[obj.slideshowid])
obj.nextcanvas=(obj.curcanvas==obj.canvasbase+"_0")? obj.canvasbase+"_0" : obj.canvasbase+"_1"
obj.tempobj=iebrowser? iebrowser[obj.nextcanvas] : document.getElementById(obj.nextcanvas)
obj.populateslide(obj.tempobj, obj.nextimageindex)
obj.nextimageindex=(obj.nextimageindex<obj.postimages.length-1)? obj.nextimageindex+1 : 0
setTimeout("fadearray["+obj.slideshowid+"].rotateimage()", obj.delay)
}
}
 
fadeshow.prototype.populateslide=function(picobj, picindex){
var slideHTML=""
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML='<a href="'+this.theimages[picindex][1]+'" target="'+this.theimages[picindex][2]+'">'
slideHTML+='<img src="'+this.postimages[picindex].src+'" border="'+this.imageborder+'px">'
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML+='</a>'
picobj.innerHTML=slideHTML
}
 
 
fadeshow.prototype.rotateimage=function(){
if (this.pausecheck==1) //if pause onMouseover enabled, cache object
var cacheobj=this
if (this.mouseovercheck==1)
setTimeout(function(){cacheobj.rotateimage()}, 100)
else if (iebrowser&&dom||dom){
this.resetit()
var crossobj=this.tempobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
crossobj.style.zIndex++
fadeclear[this.slideshowid]=setInterval("fadepic(fadearray["+this.slideshowid+"])",50)
this.curcanvas=(this.curcanvas==this.canvasbase+"_0")? this.canvasbase+"_1" : this.canvasbase+"_0"
}
else{
var ns4imgobj=document.images['defaultslide'+this.slideshowid]
ns4imgobj.src=this.postimages[this.curimageindex].src
}
this.curimageindex=(this.curimageindex<this.postimages.length-1)? this.curimageindex+1 : 0
}
 
fadeshow.prototype.resetit=function(){
this.degree=10
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
if (crossobj.filters&&crossobj.filters[0]){
if (typeof crossobj.filters[0].opacity=="number") //if IE6+
crossobj.filters(0).opacity=this.degree
else //else if IE5.5-
crossobj.style.filter="alpha(opacity="+this.degree+")"
}
else if (crossobj.style.MozOpacity)
crossobj.style.MozOpacity=this.degree/101
else if (crossobj.style.KhtmlOpacity)
crossobj.style.KhtmlOpacity=this.degree/100
else if (crossobj.style.opacity&&!crossobj.filters)
crossobj.style.opacity=this.degree/101
}
 
 
fadeshow.prototype.startit=function(){
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
this.populateslide(crossobj, this.curimageindex)
if (this.pausecheck==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj=this
var crossobjcontainer=iebrowser? iebrowser["master"+this.slideshowid] : document.getElementById("master"+this.slideshowid)
crossobjcontainer.onmouseover=function(){cacheobj.mouseovercheck=1}
crossobjcontainer.onmouseout=function(){cacheobj.mouseovercheck=0}
}
this.rotateimage()
}
 
</script>
<style type="text/css">
.style2 {
	font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
   	color: #000000;
}
.style27 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12pt;
	font-weight: bold;
	color: #000000;
}
.style41 {
	font-family: Verdana;
	font-size: 11pt;
	margin-top: 0;
	color: #000000;
	margin-bottom: 0;
}
.style44 {
	background-color: #7d7e5a;
	width: 276px;
	text-align: center;
	vertical-align: top;
	background-repeat: no-repeat;
}
.style45 {
	background-color: #cdcdcd;
	text-align: center;
	background-image: url('imgs/lrgtdbox.jpg');
	background-repeat: no-repeat;
}
.style46 {
	background-color: #7d7e5a;
	text-align: left;
	color: #ffffff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12pt;
	margin-left: 5px;
	margin-top: 0px;
	margin-bottom: 0px;
}
td.footer {
background-color:#686140;
color:#FFFFFF;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-stretch:expanded;
font-size:10px;
vertical-align:top;
margin-right:20px;
}
a {
font:Verdana, Arial, Helvetica, sans-serif;
color:#000099;
font-weight:bold;
}
 
a:hover {
font:Verdana, Arial, Helvetica, sans-serif;
color:#000099;
}
 
a:active {
font:Verdana, Arial, Helvetica, sans-serif;
color:#000099;
}
 
a:followed {
font:Verdana, Arial, Helvetica, sans-serif;
color:#000099;
}
 
</style>
 
</head>
 
<body bgcolor="#7D7E5A" background="imgs/rc_background.jpg">
 
<div align="center">
<table width="810" border="0" cellpadding="3" cellspacing="0" bgcolor="000066" align="center">
<tr valign="middle"><td>
<!-- ImageReady Slices (logotopwithslogan6.psd) -->
<!-- ImageReady Slices (logotopwithslogan6.psd) -->
<table id="Table_01" width="800" height="450" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td colspan="2">
			<map name="FPMap1">
			<area href="index.php" shape="rect" coords="3, 5, 546, 90">
			</map>
			<img src="imgs/logotopwithslogan6_01.jpg" width="582" height="91" alt="" usemap="#FPMap1" border="0"></td>
		<td>
 
			<img src="imgs/logotopwithslogan6_02.jpg" width="218" height="91" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="imgs/logotopwithslogan6_03.jpg" width="151" height="117" alt=""></td>
		<td>
			<img src="imgs/logotopwithslogan6_04.jpg" width="431" height="117" alt=""></td>
		<td>
			<img src="imgs/logotopwithslogan6_05.jpg" width="218" height="117" alt=""></td>
 
	</tr>
	<tr>
		<td valign="top" rowspan="2" bgcolor="000066">
			<map name="FPMap0">
			<area href="index.php" shape="rect" coords="9, 41, 144, 67">
			<area href="new_aboutus.php" shape="rect" coords="9, 69, 144, 95">
			<area href="new_services2.php" shape="rect" coords="10, 97, 145, 123">
			<area href="new_testimonials.php" shape="rect" coords="10, 126, 145, 152">
			<area href="new_portfolio3.php" shape="rect" coords="13, 156, 144, 181">
			<area href="news_contactus.php" shape="rect" coords="10, 213, 145, 241">
			<area href="community.php" shape="rect" coords="10, 186, 145, 210">
			</map>
			<img src="imgs/logotopwithslogan6_06.jpg" width="151" height="242" alt="" usemap="#FPMap0" border="0"></td>
		<td bgcolor="ffffcc"><div align="left">
		<p class="style41" align="left"><font face="Arial"><b>Right Choice 
		Painting &amp; Construction</b>...</font></p>
		<p class="style41" align="left">&nbsp;</p>
		<p class="style41" align="left">Please complete the form below and 
		submit to receive a proposal request from Right Choice Painting &amp; 
		Construction.</p>
		</div></td>
		<td bgcolor="ffffcc" width="247" height="209">
			<font face="arial">
		<div align="left"><font face="Arial"></font>			
					</font></div></td>
	</tr>
 
	<tr>
		<td colspan="2">
			<img src="imgs/logotopwithslogan6_09.jpg" width="649" height="26" alt=""></td>
	</tr>
</table>
 
<!-- End ImageReady Slices -->
 
</div>
<div align="center">
<table bgcolor="#FFFFFF" width="800" cellpadding="2" style="border-collapse: collapse" cellspacing="3" border="0">
 
  		<tr>
    		<td width="516" valign="top" align="left" cellspacing="2">
 
		<font color="#000000" face="arial">
		<p class="title" align="center"><strong>Proposal Request</strong></p>
 
      <form name="Contact" action="send.php" method="POST">
 
        <table width="500" cellpadding="3">
 
          <tr>
 
            <td nowrap><div align="right"><span class="red"><strong>* </strong></span><strong>First Name</strong></div></td>
 
            <td><input name="FirstName" type="text" class="required" id="First Name:"  tabindex="1" value="" maxlength="15">
 
            </td>
 
          </tr>
 
          <tr>
 
            <td nowrap><div align="right"><span class="red"><strong>* </strong></span><strong>Last Name</strong></div></td>
 
            <td><input name="LastName" type="text" class="required" id="Last Name:"  tabindex="2" value="" maxlength="20">
 
            </td>
 
          </tr>
 
          <tr>
 
            <td nowrap><div align="right"><strong>Address</strong></div></td>
 
            <td><input name="Address" type="text" id="Address:" class="text" tabindex="3" value="" maxlength="50">
 
            </td>
 
          </tr>
 
          <tr>
 
            <td nowrap><div align="right"><strong>City</strong></div></td>
 
            <td valign="middle"><input name="City" type="text" id="City:" class="text" tabindex="4" value="" maxlength="40">
 
            </td>
 
          </tr>
 
          <tr>
 
            <td nowrap><div align="right"><span class="red"><strong>* </strong></span><strong>E-mail</strong></div></td>
 
            <td><input name="Email" type="text" id="Email:"  class="required" tabindex="6" value="" maxlength="50">
 
            </td>
 
          </tr>
 
          <tr>
 
            <td height="27" nowrap><div align="right"><span class="red"><strong>*</strong></span><strong> Main Phone</strong></div></td>
 
            <td class="verd10"><input name="MainPhone" type="text" id="Main Phone:"  class="required" tabindex="6" value="" maxlength="50">
 
            </td>
 
          </tr>
 
          <tr>
 
            <td valign="top" nowrap><div align="right"><strong>Alternate Phone</strong></div></td>
 
            <td valign="top"><input name="AlternatePhone" type="text" id="Cell Phone:"  class="text" tabindex="6" value="" maxlength="50">
 
            </td>
 
          </tr>
 
          <tr>
 
            <td nowrap><div align="right"><span class="red"><strong>*</strong></span><strong> Contact Time</strong></div></td>
 
            <td><select name="PreferredTime" size = "0" class="required" id="Preferred Contact Time:" tabindex="18">
 
                <option value="" selected> </option>
 
                <option value="Anytime"> Anytime</option>
 
                <option value="Morning">Morning</option>
 
                <option value="Mid-day">Mid-day</option>
 
                <option value="Night">Night</option>
 
                <option value="Weekend">Weekend</option>
 
              </select>
 
            </td>
 
          </tr>
 
          <tr>
 
            <td nowrap><div align="right"><span class="red"><strong>* </strong></span><strong>Project Status </strong></div></td>
 
            <td><select name="ProjectStatus" size="1"  id="Project Status" class="required">
 
                <option value="" selected> </option>
 
                <option value="Ready to Hire">Ready to Hire</option>
 
                <option value="Planning &amp;
 
 Budgeting">Planning &amp;
 
 Budgeting</option>
 
              </select></td>
 
          </tr>
 
          <tr>
 
            <td nowrap><div align="right"><strong>Requested Completion </strong></div></td>
 
            <td><select name="Deadline" size="1" id="Deadline">
 
                <option  value="" selected> </option>
 
                <option value="Timing is flexible">Timing is flexible</option>
 
                <option value="Less than 1 week">Less than 1 week</option>
 
                <option value="1 - 2 weeks">1 - 2 weeks</option>
 
                <option value="3 - 4 weeks">3 - 4 weeks</option>
 
                <option value="5 - 6 weeks">5 - 6 weeks</option>
 
              </select></td>
 
          </tr>
 
          <tr>
 
            <td nowrap><div align="right"><strong>Project Type </strong></div></td>
 
            <td><table width="100%">
 
                <tr>
 
                  <td width="50%" valign="top">
 
                <tr>
 
                  <td width="50%" valign="top"><input name="Paint exterior" type="checkbox" id="Paint exterior" value="YES" >
 
                    Paint exterior</td>
 
                  <td width="50%" valign="top"><input name="Paint interior" type="checkbox" id="Paint interior" value="YES" >
 
                    Paint interior</td>
 
                </tr>
 
                <tr>
 
                  <td width="50%" valign="top"><input name="Drywall Repair" type="checkbox" id="Drywall Repair" value="YES">
 
                    Drywall Repair </td>
 
                  <td width="50%" valign="top"><input name="Wallpaper Removal" type="checkbox" id="Wallpaper Removal" value="YES">
 
                    Wallpaper Removal </td>
 
                </tr>
 
                <tr>
 
                  <td width="50%" valign="top"><input name="Fencing" type="checkbox" id="Fencing" value="YES" >
 
                    Fencing</td>
 
                  <td width="50%" valign="top"><input name="Roofing" type="checkbox" id="Roofing" value="YES" >
 
                    Roofing</td>
 
                </tr>
 
                <tr>
 
                  <td width="50%" valign="top"><input name="Other" type="checkbox" id="Other" value="YES" >
 
                    Other</td>
 
                  <td width="50%" valign="top"></td>
 
                </tr>
 
              </table></td>
 
          </tr>
          
            <tr>
 
            <td nowrap><div align="right"><strong>How Did You <br>Hear About Us? </strong></div></td>
 
            <td><textarea name="HowDidYouHearAboutUs" cols="40" rows="5" wrap id="How Did You Hear About Us" ></textarea>
 
            </td>
 
          </tr>
 
          <tr>
 
            <td nowrap><div align="right"><strong>Other Comments </strong></div></td>
 
            <td><textarea name="Comments" cols="40" rows="10" wrap id="Comments" ></textarea>
 
            </td>
 
          </tr>
 
          <tr>
 
            <td nowrap></td>
 
            <td><input type="submit" name="Submit" value="Submit" width="60">
 
              <input type="reset" name="Reset" value="Reset" width="60"></td>
 
          </tr>
 
          <tr>
 
            <td nowrap></td>
 
          </tr>
 
        </table>
 
      </form>
										
		    					<table border="0" width="100%" style="border-collapse: collapse">
									<tr>
										<td>
										<p align="center">
										&nbsp;</td>
									</tr>
								</table>
								
		    					<table border="0" width="100%" style="border-collapse: collapse">
									<tr>
										<td align="center">
										<font style="font-size: 11pt" face="Trebuchet MS">
										<a href="index.php" style="text-decoration: none">
										<font color="#000000">HOME</font></a></font></td>
										<td align="center">
										<font style="font-size: 11pt" face="Trebuchet MS">
										<a href="about.php" style="text-decoration: none">
										<font color="#000000">ABOUT US</font></a></font></td>
										<td align="center">
										<font style="font-size: 11pt" face="Trebuchet MS">
										<a href="services.php" style="text-decoration: none">
										<font color="#000000">SERVICES</font></a></font></td>
										<td align="center">
										<font style="font-size: 11pt" face="Trebuchet MS">
										<a href="testimonials.php" style="text-decoration: none">
										<font color="#000000">TESTIMONIALS</font></a></font></td>
										<td align="center">
										<font style="font-size: 11pt" face="Trebuchet MS">
										<a href="portfolio.php" style="text-decoration: none">
										<font color="#000000">PORTFOLIO</font></a></font></td>
										<td align="center">
										<font style="font-size: 11pt" face="Trebuchet MS">
										<a href="contactus.php" style="text-decoration: none">
										<font color="#000000">CONTACT US</font></a></font></td>
									</tr>
								</table>
								
		    <td class="style44" align="left" cellspacing="2">
			<p class="style41"><font style="font-weight: 400" face="Arial">
			&nbsp;</font></p>
			<p class="style41">
			&nbsp;</p>
			<p class="style41">
			&nbsp;</p>
 	</p>
<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
		<tr>
			<td>
			<p align="center" class="style41">
								<span class="style41"><span class="style27">Right Choice in the Community!</span><br>
								<img border="0" src="imgs/chamberofcommerce.jpg" width="250" height="144"><br><font color="#000000">
								Click to view more information about our community work.</font></span>
			<p align="center">
								<img border="0" src="imgs/ymcalogo.jpg"><p align="center">
								<img border="0" src="imgs/coppellownedoperated.jpg"></td>
		</tr>
</table>
			</td>
 
 </tr>
  <?php include("./includes/new_footer.php");
 
 ?>
 
</table>
</td></tr></table>
 
<p>&nbsp;</div>
 
</body>
 
</html>

Open in new window

0
katieflygirl
Asked:
katieflygirl
  • 3
3 Solutions
 
HonorGodCommented:
Consider having your proposal be done in 2 phases.

Phase 1 - Name, and e-mail address

Use the information from Phase 1 to send a follow up (confirmation) e-mail with a proposal identification number, and follow up URL containing the actual proposal form.
0
 
Michel PlungjanIT ExpertCommented:
Please allow us to help you in ONE question

You have been visited by a form filling robot that is used to post on blogs.

You can ignore it.

If you do not want to ignore these posts, the simplest method is to change

    <form name="Contact" action="send.php" method="POST">

to
    <form name="Contact" action="whyyouneedjavascript.html" method="GET" onClick="this.method='POST'; this.action='send.php'">

which will stop automated scripts

The method I use myself is recaptcha which will show some text to fill in to prove the poster is not a robot.

http://recaptcha.net/


0
 
katieflygirlAuthor Commented:
Is it dangerous in any way the information we were sent?  Will it cause any trouble on our computers, etc?
0
 
Michel PlungjanIT ExpertCommented:
Only if you follow the links
It is simply a blog spammer that wants the link to their crap sites on as many blogs as possible
0
 
Michel PlungjanIT ExpertCommented:
If you are up for a little programmin, then I like this one:

http://www.modernblue.com/web-design-blog/fighting-spam-with-css/

You will need to add a field that is hidden from the actual visitors and test if it has been filled by the robot then ignore the complete post
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now