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

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

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

 



Gregorio
User

Dec 25, 2000, 9:46 AM

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

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



Maebius
Novice

Dec 29, 2000, 9:00 AM

Post #2 of 2 (259 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-
maebius@everthorn.net

 
 


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

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