Re: Server Error : Premature end of script headers: php-engine
| From: | Karam Chand | Date: | Wed, 25 Aug 2004 05:40:53 +0000 |
| Subject: | Re: Server Error : Premature end of script headers: php-engine | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194654@lists.php.net to get a copy of this message | ||
Hello,
Connecting to the PHP using Windows WinInet APIs. Mine
is a C++ app that connects to the PHP and gets data.
The above probcess works like a cheese for tables upto
10-20K but when I put on more heavy load like the
table described, WinInetAPI returns with the following
error.
Regards,
Karam
--- Curt Zirzow <php-general@zirzow.dyndns.org> wrote:
> * Thus wrote Karam Chand:
> > Hello,
> >
> > I have a fairly big table of 60K rows with 9 cols.
>
> >
> > I have a C++ app that connects to a PHP page. This
> PHP
> > page in turn connects to the above table and
> outputs
> > all the row in form of XML. I get all this data in
> my
> > C++ app, parse it with an XML parser and do my
> work.
> > My PHP source looks something like:
>
> Connection to a PHP page how? The Premature end of
> script headers
> error is usually due to a cgi-script not sending the
> right headers
> which minimally is:
>
> HTTP/1.x 200 OK
> Content-Type: type/ofcontent
>
> ...data
>
>
> If you dont get that first line back (the status
> line) then you
> will most likely get that error.
>
>
> Curt
> --
> First, let me assure you that this is not one of
> those shady pyramid schemes
> you've been hearing about. No, sir. Our model is
> the trapezoid!
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com