Results 1 to 2 of 2

Thread: Set up form for mls search
      
   

  1. #1
    Join Date
    Jan 2007
    Posts
    34

    Default 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.

  2. #2
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,080

    Default 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!


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •