close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Injection Script?

Thread began 12/22/2010 2:49 pm by lbunnell124698 | Last modified 12/27/2010 2:45 pm by lbunnell124698 | 7251 views | 8 replies

lbunnell124698

<?php if (ValidatedField("homealert","homealert")){if ((strpos((",".ValidatedField("homealert","homealert").","), "," . "" . ",") !== false || "" == "")){if (!(false)){ ?><p>We encountered errors in the form you submitted.</p> <?php }} }?><form method="post" action="" id="homealert" name="homealert"><input type=hidden name="subject" value="Email Update"><fieldset><legend>Contact Information </legend><div class="notes"><h4>MLS Email Updates </h4><p class="last"><strong>Bolded Fields are required.<br /></strong></p></div><div class="required"><label for="fName"><?phpif (ValidatedField("homealert","homealert")) {if ((strpos((",".ValidatedField("homealert","homealert").","), "," . "1" . ",") !== false || "1" == "")){if (!(false)){?><?php }}}?>First Name: </label><inputname="fName" type="text" id="fName" value="<?php echo(ValidatedField("homealert","fName")) ?>"></div><div class="required"><label for="lName"><?phpif (ValidatedField("homealert","homealert")){if ((strpos((",".ValidatedField("homealert","homealert").","), "," . "7" . ",") !== false || "7" == "")){if (!(false)){?><?php // homealert(7:)}}}?> Last Name: </label><inputname="lName" type="text" id="lName" value="<?php echo(ValidatedField("homealert","lName")) ?>"></div><div class="required"><label for="phone"><?phpif (ValidatedField("homealert","homealert")){if ((strpos((",".ValidatedField("homealert","homealert").","), "," . "8" . ",") !== false || "8" == "")){if (!(false)){?><?php }}}?>Daytime Phone: </label><input name="DayPhone" type="text" value="<?php echo(ValidatedField("homealert","DayPhone")) ?>" maxlength=40><div class="small">Include Area Code </div></div><div class="optional"><label for="EveningPhone">Evening Phone:</label><inputname="EveningPhone" type="text" id="EveningPhone" value="<?php echo(ValidatedField("homealert","EveningPhone")) ?>"></div><div class="optional"><label for"fax">Fax: </label><input name="fax" type="text" id="fax" value="<?php echo(ValidatedField("homealert","fax")) ?>" maxlength=40></div><div class="required"><label for="email"><?phpif (ValidatedField("homealert","homealert")){if ((strpos((",".ValidatedField("homealert","homealert").","), "," . "2" . ",") !== false || "2" == "")){if (!(false)){?><?php // homealert(2:)}}}?> Email: </label><input name="email" type="text" size="45" id="email" value="<?php echo(ValidatedField("homealert","email")) ?>"/></div><div class="optional"><label for="Address">Address: </label> <input name="Address" type="text" id="Address" value="<?php echo(ValidatedField("homealert","Address")) ?>"></div><div class="optional"><label for"City">City: </label><input name="City" type="text" id="City" value="<?php echo(ValidatedField("homealert","City")) ?>"></div><div class="optional"><label for="State">State: </label><select name="State"> <option value=" " <?php if (!(strcmp(" ", (ValidatedField("homealert","State"))))) {echo "selected=\"selected\"";} ?>>Select</option> <?php do {?> <option value="<?php echo $row_rsState['code_sta']?>"<?php if (!(strcmp($row_rsState['code_sta'], (ValidatedField("homealert","State"))))) {echo "selected=\"selected\"";} ?>><?php echo $row_rsState['name_sta']?></option> <?php } while ($row_rsState = mysql_fetch_assoc($rsState));$rows = mysql_num_rows($rsState);if($rows > 0) { mysql_data_seek($rsState, 0);$row_rsState = mysql_fetch_assoc($rsState);} ?></select></div><div class="optional"><label for="Zip">Zip Code: </label> <input name="Zip" type="text" id="Zip" value="<?php echo(ValidatedField("homealert","Zip")) ?>"></div></fieldset><fieldset><legend>Property Information</legend><div class="required"><label for="searchState">State/Province</label><select name="searchState"><option value=" " <?php if (!(strcmp(" ", (ValidatedField("homealert","searchState"))))) {echo "selected=\"selected\"";} ?>>Select</option><?php do {?><option value="<?php echo $row_rsState['code_sta']?>"<?php if (!(strcmp($row_rsState['code_sta'], (ValidatedField("homealert","searchState"))))) {echo "selected=\"selected\"";} ?>><?php echo $row_rsState['name_sta']?></option><?php } while ($row_rsState = mysql_fetch_assoc($rsState));$rows = mysql_num_rows($rsState);if($rows > 0) { mysql_data_seek($rsState, 0);$row_rsState = mysql_fetch_assoc($rsState);} ?></select></div><div class="required"><label for="Area"> <?phpif (ValidatedField("homealert","homealert")){if ((strpos((",".ValidatedField("homealert","homealert").","), "," . "6" . ",") !== false || "6" == "")) {if (!(false)){?> <?php }}}?>Area: </label><textarea name="Area"><?php echo(ValidatedField("homealert","Area")) ?></textarea><div class="small">County or area of search. Required to set up email updates</div> </div><div class="required"> <label for="PriceRangeLower"><?php if (ValidatedField("homealert","homealert")){if ((strpos((",".ValidatedField("homealert","homealert").","), "," . "3" . ",") !== false || "3" == "")){if (!(false)){ ?><?php}} }?>Minimum Price:</label> <input name="PriceRangeLower" type="text" class="formtext" value="<?php echo(ValidatedField("homealert","PriceRangeLower")) ?>"/></div><div class="required"><label for="PriceRangeUpper"><?php if (ValidatedField("homealert","homealert")){if ((strpos((",".ValidatedField("homealert","homealert").","), "," . "4" . ",") !== false || "4" == "")){if (!(false)){ ?> <?php }}}?>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...