Connecting Tech Pros Worldwide Forums | Help | Site Map

ssl ignoring php bufferring?

Douglas F.
Guest
 
Posts: n/a
#1: Jul 17 '05
I have a download.php that handles some form posts from a html page. It
attempts to use Header(Location: ......) to download a file. It works when
out of ssl, but when under ssl, I get the 'Headers already sent' error. The
ob_start() and ob_end_flush() calls are being ignored. I theorize that the
Host's SSL package has to allow buffering, or maybe it is the Server?

any suggestions or resolutions will certainly be appreciated on this.



Douglas F.
Guest
 
Posts: n/a
#2: Jul 17 '05

re: ssl ignoring php bufferring?


Actually, the buffering doesn't work when non SSL either so that, I think,
means that the hosts php.ini file output_buffering = off? Would this be a
correct assumption?

"Douglas F." <fabien@toast.net> wrote in message
news:1099851586.rlnEyCfhZw0RSMK43C9CCw@teranews...[color=blue]
> I have a download.php that handles some form posts from a html page. It
> attempts to use Header(Location: ......) to download a file. It works[/color]
when[color=blue]
> out of ssl, but when under ssl, I get the 'Headers already sent' error.[/color]
The[color=blue]
> ob_start() and ob_end_flush() calls are being ignored. I theorize that[/color]
the[color=blue]
> Host's SSL package has to allow buffering, or maybe it is the Server?
>
> any suggestions or resolutions will certainly be appreciated on this.
>
>[/color]


Bent Stigsen
Guest
 
Posts: n/a
#3: Jul 17 '05

re: ssl ignoring php bufferring?


Douglas F. wrote:[color=blue]
> Actually, the buffering doesn't work when non SSL either so that, I
> think, means that the hosts php.ini file output_buffering = off?
> Would this be a correct assumption?[/color]

ob_start should override even is set to off. I would assume you had
overlooked some prior output.

/Bent

[color=blue]
> "Douglas F." <fabien@toast.net> wrote in message
> news:1099851586.rlnEyCfhZw0RSMK43C9CCw@teranews...
>[color=green]
>> I have a download.php that handles some form posts from a html
>> page. It attempts to use Header(Location: ......) to download a
>> file. It works when out of ssl, but when under ssl, I get the
>> 'Headers already sent' error. The ob_start() and ob_end_flush()
>> calls are being ignored. I theorize that the Host's SSL package
>> has to allow buffering, or maybe it is the Server? any suggestions
>> or resolutions will certainly be appreciated on this.[/color][/color]
Rasmussan Gilicudy
Guest
 
Posts: n/a
#4: Jul 17 '05

re: ssl ignoring php bufferring?


I don't think so because it works on my php/Apache system.

"Bent Stigsen" <ngap@thevoid.dk> wrote in message
news:419031a7$0$56941$edfadb0f@dread15.news.tele.d k...[color=blue]
> Douglas F. wrote:[color=green]
> > Actually, the buffering doesn't work when non SSL either so that, I
> > think, means that the hosts php.ini file output_buffering = off?
> > Would this be a correct assumption?[/color]
>
> ob_start should override even is set to off. I would assume you had
> overlooked some prior output.
>
> /Bent
>
>[color=green]
> > "Douglas F." <fabien@toast.net> wrote in message
> > news:1099851586.rlnEyCfhZw0RSMK43C9CCw@teranews...
> >[color=darkred]
> >> I have a download.php that handles some form posts from a html
> >> page. It attempts to use Header(Location: ......) to download a
> >> file. It works when out of ssl, but when under ssl, I get the
> >> 'Headers already sent' error. The ob_start() and ob_end_flush()
> >> calls are being ignored. I theorize that the Host's SSL package
> >> has to allow buffering, or maybe it is the Server? any suggestions
> >> or resolutions will certainly be appreciated on this.[/color][/color][/color]


Douglas F.
Guest
 
Posts: n/a
#5: Jul 17 '05

re: ssl ignoring php bufferring?


What should I do if the host does not have output buffering enabled on their
servers? This is the case here. The Header app works on my Apache system
with buffering.

"Douglas F." <fabien@toast.net> wrote in message
news:1099851586.rlnEyCfhZw0RSMK43C9CCw@teranews...[color=blue]
> I have a download.php that handles some form posts from a html page. It
> attempts to use Header(Location: ......) to download a file. It works[/color]
when[color=blue]
> out of ssl, but when under ssl, I get the 'Headers already sent' error.[/color]
The[color=blue]
> ob_start() and ob_end_flush() calls are being ignored. I theorize that[/color]
the[color=blue]
> Host's SSL package has to allow buffering, or maybe it is the Server?
>
> any suggestions or resolutions will certainly be appreciated on this.
>
>[/color]


Closed Thread