Simple : "Contact us html"

Discussion in 'HTML & Website Design' started by Agent_Smith, Apr 29, 2007.

  1. #1
    Hi,

    I need a very basic contact us code in html.

    i couldn't find one in google (only php)

    Thanks
     
    Agent_Smith, Apr 29, 2007 IP
  2. allout

    allout Prominent Member

    Messages:
    5,000
    Likes Received:
    461
    Best Answers:
    2
    Trophy Points:
    340
    #2
    I have a script that scrambles the email: just replace the wording and it should work. Where it says yours put the front of the email and where it says yours.com put the back and change what you want text to say. Hope this helps.


    <script language="javascript">

    <!-- Hide from old browsers-->

    function scramble(){
    var p1,p2,p3,p4,p5,p6
    p1='<a href="mai'
    p2='yours'
    p3='">'
    p1+='lto:'
    p2+='@'
    p5='</a>'
    p6='What you want text to say'
    p2+='yours.com'
    p4=p6

    document.write(p1+p2+p3+p4+p5)
    }

    scramble()

    //-->
    </script>
     
    allout, Apr 29, 2007 IP
  3. 8everything

    8everything Peon

    Messages:
    16,350
    Likes Received:
    903
    Best Answers:
    0
    Trophy Points:
    0
    #3
    What contact us are you looking for exactly? If its a contact form then it has to be in PHP
     
    8everything, Apr 29, 2007 IP
  4. TechEvangelist

    TechEvangelist Guest

    Messages:
    919
    Likes Received:
    140
    Best Answers:
    0
    Trophy Points:
    133
    #4
    It doesn't necessarily have to be in PHP, but you do need a script to forward the message fields to a site's mail system. HTML mail-to code will work, but that does not give you the luxury of defining several fields for data capture.

    If you need to define an HTML form with several fields, you can send the data through a Perl script, such as nms FormMail. http://nms-cgi.sourceforge.net/scripts.shtml.

    Don't use the older Matt's Script Archive FormMail. It is not secure. nms FormMail is the replacement. This will only work if your web site can use Perl.
     
    TechEvangelist, Apr 29, 2007 IP