Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Answer: How do post to a URL from a form and display the results in a browser?

by merlyn (Sage)
on Sep 12, 2000 at 00:43 UTC ( #31979=categorized answer: print w/replies, xml ) Need Help??

Q&A > CGI programming > How do post to a URL from a form and display the results in a browser? - Answer contributed by merlyn

If you're running this as a CGI program (as your use CGI would imply), I fail to see where you are printing the appropriate CGI header. Add
print $query->header, $query->start_html("some title");
before the rest of your program.

And get a monkname! They're free, or rather, at least half price this week! It's hard to be motivated to answer a transient. {grin}

  • Comment on Answer: How do post to a URL from a form and display the results in a browser?
  • Download Code
Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2020-10-25 03:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (248 votes). Check out past polls.

    Notices?