Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^2: fundamental mod-perl start_multipart_form question

by Bruce32903 (Scribe)
on Feb 02, 2009 at 17:13 UTC ( #740748=note: print w/replies, xml ) Need Help??

in reply to Re: fundamental mod-perl start_multipart_form question
in thread fundamental mod-perl start_multipart_form question

Yes, I am using Perl with "use CGI qw( :standard escapeHTML);" and "use DBI;". I usually rewrite a small program with the code targeted to my question. But in this case I'm currently only asking the fundamental "only one form" and "must all prints be inside the form" questions. If my program architecture is way off in left field then it needs rewritten rather than debugged. Posting code might only add fog to my direct and to the point question.

I'm still a bit confused by the "yes" to multiple forms issue. The "Perl In A Nutshell" book indicates that start_multipart_form generates <html> and <body> tags. Shouldn't I only have one set of <html> and <body> tags in a single html page?

  • Comment on Re^2: fundamental mod-perl start_multipart_form question

Replies are listed 'Best First'.
Re^3: fundamental mod-perl start_multipart_form question
by perrin (Chancellor) on Feb 03, 2009 at 00:23 UTC
    Your questions are really about and HTML, not about mod_perl. There is good documentation for that should help you. It doesn't look to me like start_multipart_form() prints html and body tags.
      Thank you,
      I'll read through it.

Re^3: fundamental mod-perl start_multipart_form question
by bassplayer (Monsignor) on Feb 03, 2009 at 15:29 UTC

    perrin offers sound advice.

    To clarify, my answers were HTML answers. You can have many forms in a web page. is my preferred module for reading CGI form parameters, but I do not use it to create HTML. Although it doesn't seem to, if start_multipart_form indeed generates <html> and <body> tags, then the answer would be no, since only one of each are allowed. Your browser may be displaying it, but not all will reliably. Good luck!


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://740748]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2020-10-28 17:44 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (262 votes). Check out past polls.