+ Reply to Thread
Results 1 to 2 of 2

Thread: bad_url template?

  1. #1
    Join Date
    Jan 2007
    Posts
    1

    Default bad_url template?

    hey everyone, i am looking to start using the fmbadhandler.php and i believe i have it setup correctly but the template that i point to in the TEMPLATE_DIR and the TEMPLATE_URL doesn't work. here are my lines in my code and in the script, anyone tell me what i am doing wrong.

    $TEMPLATEURL = "http://www..../frmtemplates/template.html";
    $TEMPLATEDIR = "http://www..../frmtemplates";


    <input type="hidden" name="bad_template" value="http://www..../frmtemplates/template.htm" />
    <input type="hidden" name="bad_url" value="frmbadhandler.php"/>
    <input type="hidden" name="this_form" value="http://www..../GeneralTechSupprt.php"/>

  2. #2
    Join Date
    Jun 2006
    Posts
    214

    Default Re: bad_url template?

    Use only one $TEMPLATEURL or $TEMPLATEDIR

    <input type="hidden" name="bad_template" value="http://www..../frmtemplates/template.htm" />
    Here you only need the template.htm (template name) since the previous setting set the location as http://www..../frmtemplates so that is where it will look for the template name.

    <input type="hidden" name="this_form" value="http://www..../GeneralTechSupprt.php"/>
    This should be just the file name GeneralTechSupprt.php not http://www..../GeneralTechSupprt.php

    The forms, formmail.php, and fmbadhandler.php should all be in the same folder while the templates are in another. It looks like you have done that. See if these changes help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. bad_url not working if detectattacks is true
    By mstewart14 in forum Community Support
    Replies: 3
    Last Post: 16-May-2012, 04:54 PM
  2. good_url always works, bad_url doesn't for one form
    By jwig in forum Community Support
    Replies: 6
    Last Post: 25-Jan-2008, 05:02 AM
  3. good_url, bad_url issues
    By mcameron in forum Community Support
    Replies: 1
    Last Post: 04-Dec-2006, 10:08 PM
  4. bad_url and badly formed 'email' field
    By tsrwebman in forum Community Support
    Replies: 2
    Last Post: 06-Nov-2006, 04:34 PM
  5. Bad_URL?
    By msoucy in forum FormMail Subscription Support
    Replies: 11
    Last Post: 03-May-2004, 12:51 AM

Bookmarks

Posting Permissions

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