Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2002
    Location
    CALIFORNIA
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Content-type appears in web page

    I have perl running on Windows 2000 IIS 5.0

    I have a script i am calling within a web page and it responds back with the

    Content-type header message................

    Is there a way to prevent this being sent.

    The script is working fine.

  • #2
    Regular Coder Feyd's Avatar
    Join Date
    May 2002
    Location
    Los Angeles, CA Maxim: Subvert Society
    Posts
    404
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That usually only happens if you are declaring the content type twice, and the second one displays as a print; or you are running an environment where the script knows if it needs to print content-type headers or not...double check your code.
    Moderator, Perl/CGI Forum
    shadowstorm.net - subvert society


  •  

    Posting Permissions

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