Monks,

I am posting both my formmail.pl and the html for my comments page, this is the exact code for both.

I have the formmail in the cgi-bin prior to my shopping cart, this works fine on my main site but so far whenever I try to use the form on the new site the browser says the link appears to be broken, I get no server error messages.

BEGIN { $DEBUGGING = 1; $emulate_matts_code= 0; $secure = 1; $allow_empty_ref = 1; $max_recipients = 1; $mailprog = '/usr/sbin/sendmail -oi -t'; $postmaster = 'referral@stonebeads.com'; @referers = qw(72.167.232.53 stonebeads.com localhost); @allow_mail_to = qw(stonebeads.com slocalhost); @recipients = (); %recipient_alias = (); @valid_ENV = qw(REMOTE_HOST REMOTE_ADDR REMOTE_USER HTTP_USE +R_AGENT); $locale = ''; $charset = 'iso-8859-1'; $date_fmt = '%A, %B %d, %Y at %H:%M:%S'; $style = '/css/nms.css'; $no_content = 0; $double_spacing = 1; $wrap_text = 0; $wrap_style = 1; $send_confirmation_mail = 0; $confirmation_text = <<'END_OF_CONFIRMATION'; From: you@your.com Subject: form submission Thank you for your form submission. END_OF_CONFIRMATION # You may need to uncomment the line below and adjust the path. # use lib './lib'; # USER CUSTOMISATION SECTION # -------------------------- # Place any custom code here # USER CUSTOMISATION << END >>
<table width=40% cellpadding=10 border=1><tr><td> <!-begin online question comment form-> <center><h4><font color="#FF0000">PLEASE FILL OUT AND SUBMIT</font></h +4> <form method="post" action="/cgi-bin/formmail.pl"> <input type=hidden name="subject" value="Check form order"> <input type=hidden name="redirect"value="http://www.stonebeads.com"> + <input type=hidden name="recipient" value="daniel@stonebeads.com"> <input type=hidden name="print_blank_fields" value="1"> <input type=hidden name="env_report" value="http_user_agent,remote_add +r"> <br> <h5> <br>Your Email address:&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name +="email address" size="35" maxlength="55" value> <br><br> YourName:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& +nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="tex +t" name="Your Name" size="35" maxlength="45" value> <br><br> Telephone Number:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name +=" address" size="35" maxlength="55" value> <br><br> <textarea name="letter" rows="5" cols="50">Comments </textarea> <br><br><br> <center><input type="submit" value="Submit My Question or Comment"> <!-end online question comment form-> </center></td></tr></table>

In reply to Re^4: TKI cart by lopacki
in thread TKI cart by lopacki

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.