CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
Content-Type: text/html



Dec 25, 2000, 9:46 AM

Post #1 of 2 (286 views)
Content-Type: text/html Can't Post

this always comes up whenever i print, how do i get rid of it?


Dec 29, 2000, 9:00 AM

Post #2 of 2 (268 views)
Re: Content-Type: text/html [In reply to] Can't Post

Not sure exactly where the problem might be since you did not include too many details. My first thought is that you have this line in your script twice? Assuming the script generates output to the web browser, at least one instance of "content-type: text/html" is being seen.
You also may have forgotten the '\n\n' at the end. I'm too new to Perl to be a guru, but in my scripts I have the line written as: print "Content-type: text/html\n\n"

If this is not the case, perhaps you could post a sample of the script in question. That way we can all see where any strange things may be occurring.
Best of luck!

living life -umop apisdn-


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives