Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

You should be aware (and wary) that Matt Wrights scripts, and especially the FormMail script, have many security holes. The FormMail script can be used easily to mail spam in your name all over the world.

There are replacements that are more secure and that are programmed in a much better style than the scripts by Matt Wright.

I suggest as a first step that you move over to the NMS scripts as replacements to Matts scripts. As the second step, you should either learn how to use the Perl mail modules from CPAN, as there are Net::SMTP, Mail::Sendmail or other stuff a search or Super Search turns up on "mail" on this site.

As for your strategy of asking questions, the quality of the answers you get depends directly on the quality of your question. turnsteps home node has many good hints, Are there questions to basic? contains a discussion on how we could approach answers, and (again) Super Search will most likely turn up more hints on how to ask good questions that give you the answers you really need.

Here are some shallow hints your question should give to the person :

  • The relevant code. Trim this down to the shortest possible code that reproduces the phenomenon, but no shorter. Try to make it that the posted code actually works. The posted code should be similar in form and style to what you actually use.
  • Input you gave to your code
  • Output you got from your code
  • Output you expected from your code
  • Resources you have already contacted about your problem (man pages, books, colleagues, other fora), and subsummation of the answers you got there (if any).

perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web

In reply to Re: FormMail Brevity by Corion
in thread FormMail Brevity by Reality Theorist

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-24 07:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found