• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CF CGI:http_REFERER Tag

New Here ,
Aug 26, 2016 Aug 26, 2016

Copy link to clipboard

Copied

Need some serious helping learning the cgi tag.  Its for a contact form on a website.  Basically how to use the link to have a message display that the form was submitted.  Once submitted the info goes to an action.cfm page which works fine.  But need help using the tag.  Thanks!

TOPICS
Builder

Views

1.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 05, 2016 Sep 05, 2016

Copy link to clipboard

Copied

LATEST

You have asked the question in the CF Builder forum, it is a Coldfusion question. Here is an example that shows how to use the form, the action page and http_referer:

formpage.cfm

<form action="actionpage.cfm" method="post">

    <input name="txt" type="text">

    <input name="sbmt" type="submit" value="Send">

</form>

actionpage.cfm

<h2>This is the action page of the form</h2>

<cfoutput>

    Form.txt: #form.txt# <br>

    Referrer page: #CGI.HTTP_REFERER#

</cfoutput>

Put the 2 files in the same directory. Then open formpage.cfm in the browser. Fill in the form and press Send.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation