I have moved my site to another host, my perl code doesn't work properly as when i issue the "print Content-type: text/html"; command, this is actually appearing on the page messing everything up.
I asked the host if anything might be auto-issuing the mime header and this is the response...
can some help explain what could be causing the problem, I have moved from a windows box running IIS & ActiveState PERL v5.8 , to exactly the same environment, nothing in my scripts has changed, so why is the header being outputed twice?
and how do i stop it.
thanks,
1DMF.
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
I asked the host if anything might be auto-issuing the mime header and this is the response...
As far as I am aware of, IIS does not send an ‘automatic’ mime header. The only time I have seen this happen is in an ASP page where the mime type is set, but the page has already started being output, therefore it is too late to change any of the headers. Ensure that page output buffer is being cached in your Perl script, so that you can change the mime type of the page later in the code if necessary
can some help explain what could be causing the problem, I have moved from a windows box running IIS & ActiveState PERL v5.8 , to exactly the same environment, nothing in my scripts has changed, so why is the header being outputed twice?
and how do i stop it.
thanks,
1DMF.
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.