473,387 Members | 1,501 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

ssl ignoring php bufferring?

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.
Jul 17 '05 #1
4 1855
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." <fa****@toast.net> wrote in message
news:1099851586.rlnEyCfhZw0RSMK43C9CCw@teranews...
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.

Jul 17 '05 #2
Douglas F. wrote:
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?
ob_start should override even is set to off. I would assume you had
overlooked some prior output.

/Bent

"Douglas F." <fa****@toast.net> wrote in message
news:1099851586.rlnEyCfhZw0RSMK43C9CCw@teranews...
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.

Jul 17 '05 #3
I don't think so because it works on my php/Apache system.

"Bent Stigsen" <ng**@thevoid.dk> wrote in message
news:41***********************@dread15.news.tele.d k...
Douglas F. wrote:
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?


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

/Bent

"Douglas F." <fa****@toast.net> wrote in message
news:1099851586.rlnEyCfhZw0RSMK43C9CCw@teranews...
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.

Jul 17 '05 #4
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." <fa****@toast.net> wrote in message
news:1099851586.rlnEyCfhZw0RSMK43C9CCw@teranews...
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.

Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Pizzor2000 | last post by:
When I run PHP scripts on my company's web server, I can attempt to read a variable that has not already been declared. When I try to access a variable before a value is assigned on my home...
1
by: Dan Stromberg | last post by:
I have a python script that sometimes gets a SIGPIPE signal, and errors out. And I want it to just terminate as though it had hit EOF. I'm running: ...
0
by: BS | last post by:
Hi All, This may be an old question, but there's little useful references online that I've been able to find. I want the following code to display bit by bit, not send all at once to the...
1
by: Claude Schneegans | last post by:
Hi, Access has a nice feature that allows creation of indexes WITH IGNORE NULL which means that records with null values are ignored in the index, so the index will be shorter and faster to...
3
by: Daniel Tonks | last post by:
OK, here's possibly a weird one. Is there any way to do string comparisons and ignore all non-alphanumeric characters? For instance, check "foobar" and have it match an existing record of "f$#!oo...
2
by: Paul Bramscher | last post by:
What are the mechanisms to make words like a/an/the in text and varchar character fields ignored when performing SELECT and utilizing ORDER BY in SQL queries? I've done some hunting around into...
4
by: Ramprasad A Padmanabhan | last post by:
I am running a program within another and reading the output. My problem is that all outputs are delayed because of bufferring Can I tell printf to print all outputs immediately and not buffer...
4
by: Srikanth | last post by:
Hi Can any one say how to check a hashtable by ignoring the case of key supplied. I want the following requirement It should not allow the user to do the following Hashtable table = new...
5
by: BACON | last post by:
I'm just starting the process of reorganising my modest little website and cleaning up all the HTML, and the logical place to begin was with the homepage. I made a simple little ASP.NET control...
0
by: mrafi | last post by:
Hey All, I am working with numpy I have a data set with a lot of nan values, and i want to calculate standard deviation is there a direct function to do it for example nansum(or something like...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.