RUN! Do not walk! to the nearest source for an alternate to formmail. NMS has already been mentioned, TFMail (from London Perl Mongers, IIRC) is another.
formmail.pl is notorious for its security failings. And if TKI is from the same source (Matt's), get rid of it too!
Update: Turning to a question more closely related to the one you actually posed:
There's very little efficiency or true economy in using the main domain's cgi-bin directory for the subdomain's business. OTOH, there are many ways that doing so can create issues or problems you don't need. For an almost trivial example, you won't be able to readily distinguish between mail sent from one site and mail from the other without extra effort (revising your form, for example).
Your server's setup (your own or a service?) may also be a problem. If you're using a service, ask their un-helpful desk; if it's your own, you probably need to explore the delights of the relevant (Apache?) documentation. In fact, information about the server might make it possible for a Monk to offer more substantive advice.
In reply to Re: TKI cart
by ww
in thread TKI cart
by lopacki
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.