SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Addict Caryn's Avatar
    Join Date
    Aug 2002
    Location
    Sydney, Australia
    Posts
    284
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Premature End of Headers

    Just a quick question...

    What's the most likely thing to be wrong with my perl scripts if I'm getting that "Premature End of Headers" error?

    Cheers.

  2. #2
    SitePoint Enthusiast eych's Avatar
    Join Date
    Nov 2002
    Location
    Moscow, Russia
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Greetings, Caryn.

    Possibly, your script doesn't do

    Code:
    print "Content-type: text/html\n\n";
    before sending out data?
    Sergey Smirnov
    One of the Stuffed Guys
    http://www.stuffedguys.com

  3. #3
    SitePoint Member
    Join Date
    Dec 2002
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You recently posted a question on message boards so my guess is that this is the script you're working on.

    A lot of times the error lies in your url paths. Make sure every instance of your urls are correct inside the configuration file(s).

    Most scripts have their own help boards which is a good place to get help on a specific script.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •