473,797 Members | 3,183 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1874
Actually, the buffering doesn't work when non SSL either so that, I think,
means that the hosts php.ini file output_bufferin g = off? Would this be a
correct assumption?

"Douglas F." <fa****@toast.n et> wrote in message
news:1099851586 .rlnEyCfhZw0RSM K43C9CCw@terane ws...
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_bufferin g = 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.n et> wrote in message
news:1099851586 .rlnEyCfhZw0RSM K43C9CCw@terane ws...
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.d k> wrote in message
news:41******** *************** @dread15.news.t ele.dk...
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_bufferin g = 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.n et> wrote in message
news:1099851586 .rlnEyCfhZw0RSM K43C9CCw@terane ws...
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.n et> wrote in message
news:1099851586 .rlnEyCfhZw0RSM K43C9CCw@terane ws...
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
3709
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 computer (Windows with IIS), I get a warning about the variable being undefined. Is there a flag in php.ini that allows a script to check a variable before defining it?
1
4225
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: signal.signal(signal.SIGPIPE,signal.SIG_IGN) ....in the main function, but the script is still erroring out on sigpipe when the consumer to its producer terminates early.
0
1454
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 client (IE). The following code sample works as intended on all NT4 Wkstation PWS and on *one* IIS6 W2K3 server. On all other W2K3 servers it does not, it waits and
1
2997
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 search. Is there any equivalent for this in MySQL? Thanks.
3
3641
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 B(a)*R". - Daniel
2
2370
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 documentation on character sets (but they are geared mainly at character-by-character rules) and saw some reference to string collating and stop words -- but not seen any of this all put together. Thanks for any assistance,
4
8355
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 it Thanks Ram
4
4748
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 Hashtable(); a) table.Add("one",1); b) table.Add("One",1);
5
5803
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 that I can drop into the beginning of any page and it will generate HTML to display my logo, a link, and (optionally) a quote of the day, all of which will be horizontally centered at the top of the page by my default stylesheet. For the main page,...
0
1131
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 this), to calculate standard deviation ignoring nan values?? Thanks Rafi --
0
9685
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9537
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10469
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10246
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10209
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7560
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6803
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5459
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.