Set up form for mls search

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • larthestar
    Sergeant

    • Jan 2007
    • 34

    Set up form for mls search

    I have MLS searches set up on my site that link to the MLS site. How can I set up a registration form that will allow me to receive the registration information and then allow the person to go to the mls page at http://www.southfloridarentals-homes...al_search.html when they hit the submit button. What I am trying to accomplish is having their info emailed to me and also go to the page. The only forms I can find serve one purpose.
    Thanks in advance,
    Larry
    My bellsouth email address was taken over and I am locked out, so please reply to palmbeachrealestatemanagement******.com if you email me.
  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #2
    Re: Set up form for mls search

    It is very easy.

    First solution:
    Create a php file with the following script: (open Notepad and paste the code in there)

    <?PHP
    $mailto ="exampleemail@example.com";
    $email = $HTTP_POST_VARS[email];
    if ($email == "") {
    $email = $mailto;
    }
    $mailsubj = "Type your mail subject here";
    $mailhead = "From: $email\n";
    reset ($HTTP_POST_VARS);
    $mailbody = "Values submitted from web site form :\n";
    while (list ($key, $val) = each ($HTTP_POST_VARS))
    {
    if ($key!="submit")
    {
    $mailbody .= "$key : $val\n";
    }
    }
    mail($mailto, $mailsubj, $mailbody, $mailhead);
    header("Location: http://www.southfloridarentals-homes...al_search.html");
    ?>

    Change the parts in blue to be your own details.
    Now go to Save As, select File type: All Files, and save the file as "action.php" on your computer.

    Upload the file on your site.

    Open the form page in your BV, set the form action in "action.php" and Save / publish.

    You are done.

    Second solution : Leave everything as it is. In the thank you page, where you have the script, add this line in the Between Head Tag:

    <META HTTP-EQUIV="REFRESH" CONTENT="6;URL=http://www.southfloridarentals-homes...al_search.html ">

    This will redirect the visitor to the desired page, after 6 seconds. You can change 6 to whatever you like.

    Third solution : Use ABVFP: it will redirect the visitor automatically to whatever page you set it to, after the mail submission.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

    Comment

    Working...
    X