Re: PHP Problem
"Colin McKinnon"
<colin.thisisnotmysurname@ntlworld.deletemeunlessU RaBot.com> wrote in
message news:OCQxg.31485$i32.22333@newsfe2-gui.ntli.net...
> DG wrote:
>
>> Please bear with me, I'm VERY new at this....here is the problem:
>>
>> We have a very simple comment form on our website that uses a PHP file to
>> mail the results to one of our email addresses. We found out a few days
>> ago that when trying to submit a comment there was a box popping up
>> asking
>> for
>> username, password, domain.
>
> This is kind of weird - rather than try to work out why your email script
> is
> doing this, I think it's time to write a "hello world" script and see how
> it behaves.
>
>> I called our ISP who hosts our site and they
>> looked in to it (the tech said he thought someone else called about the
>> same thing). When they called back they said they fixed the popup for
>> username, etc., but they were now getting the following message "CGI
>> Error. The specified CGI application misbehaved by not returning a
>> complete set of HTTP
>> headers."
>
> Never heard of this either. Any idea which webserver they are running on?
> I've always found PHP to be very good at this kind of thing. Anyway, I
> don't believe a CGI program is required to return any http headers.
>
>> I tried it and got the same message. My ISP recently switched
>> their mail server and the new one requires SMTP Authentication. They also
>> said they just upgraded to PHP 5.1.4. They feel my problem is with my PHP
>> file. It worked before all of these recent changes but I don't know
>> exactly when it stopped working to try to tie it to any of these changes.
>> Could someone give me advice if the SMTP Authentication or their upgrade
>> to PHP 5.1.4 is the problem and how would I fix it?
>>
>
> Stop worrying about the SMTP authorization - yes, it's going to stop your
> script from working as intended, but you've got other problems to solve
> first.
>
Thank you! The "hello world" script behaved exactly the same (CGI error) so
I called my ISP. They have now fixed the problem and the comment form is
working again. Thanks again!!
|