Results 1 to 4 of 4

Thread: $return_link not converting to a link

  1. #1
    Join Date
    Feb 2009
    Posts
    8

    Default $return_link not converting to a link

    Greetings. First of all, thank you for this excellent script.

    Second, I have setup my form to use the fmbadhandler.php to handle form errors. I have setup the script to use the ini file, image verification and a template to generate the error response.

    However, I have one problem: the $return_link is not converting to the this_form link I specified in the form. The
    HTML Code:
    a href="$return_link"
    is converting to the following URL:
    http://darshan-ahluwalia.com/mailer/$return_link

    In addition, when I use the special HTML tag
    HTML Code:
    return_link /
    , I do not see it on the error page at all.

    My form is online here:
    http://darshan-ahluwalia.com/registr...ult-super.html

    My error template is here:
    http://darshan-ahluwalia.com/mailer/...ion-error.html

    In my fmbadhandler.php I have specified the TEMPLATEURL to "http://darshan-ahluwalia.com/mailer/error-templates"

    This is quite puzzling since every thing else is working properly. Do you know what might be the problem?

  2. #2
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: $return_link not converting to a link

    for security u need to set TARGET_URLS to include ur website

    this needs to be done in fmbadhandler

    u can chec the main website for doco on TARGET_URLS - its the same for fmbadhandler as for formmail

  3. #3
    Join Date
    May 2008
    Posts
    1,291

    Default Re: $return_link not converting to a link

    Also, make sure that all url's match as far as with "www" or without "www". It looks like you have some variation with the url's used in your form.

    ginger

  4. #4
    Join Date
    Feb 2009
    Posts
    8

    Default Re: $return_link not converting to a link

    Excellent. Thanks for the help. That was the problem because as soon as I added the link to the TARGET_URLS field, it worked.

    Thanks!

    Darshan

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Converting Underscores to Spaces from Form to E-mail
    By Kirk in forum FormMail Subscription Support
    Replies: 1
    Last Post: 01-Dec-2004, 06:20 AM
  2. fmbadhandler link back problem
    By frankherzog in forum FormMail Subscription Support
    Replies: 6
    Last Post: 25-Nov-2004, 10:58 AM
  3. Problem with return_link
    By antix in forum FormMail Subscription Support
    Replies: 9
    Last Post: 13-Sep-2004, 09:25 AM
  4. Link to your own REDIRECT page?
    By cottonslurpy in forum FormMail Subscription Support
    Replies: 2
    Last Post: 17-Jun-2004, 08:36 PM
  5. No return link for badhandler
    By ptr in forum FormMail Subscription Support
    Replies: 3
    Last Post: 26-May-2004, 11:27 PM

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
  •