Advertisement

10.20.2006 at 10:17AM PDT, ID: 22032227
[x]
Attachment Details

Characters get corrupted in HTML stream

Asked by walkerke in PHP for Windows

Tags: characters, php

I am running PHP 5.1.4 on a Win2K Server w/SP4. When processing scripts which produce a significant amount of HTML, the HTML is corrupt when it reaches the browser. Clicking refresh repeatedly produces a different result each time with the corrupted characters in a different place. What I mean by corrupted characters is that the characters are being replaced. For example, 'script=' came out 's2">S=' -- the right number of characters, just the wrong ones.

I have tried turning off output_buffering and turning on implicit_flush in php.ini without success.

I have also tried the same script on a Mac OSX 10.4.8 Server accessing the MySQL database on the Win2K server remotely which does NOT corrupt the HTML. I believe that rules out MySQL as a contributor to the problem.

I am convinced that PHP for Windows is the root of the problem. Can anyone suggest a configuration change that might fix it?

I should also point out that an ASP/MS Access script which produces the same HTML runs well on this same server -- without corruption -- as do PHP/MySQL scripts which produce less HTML.Start Free Trial
[+][-]10.22.2006 at 10:38AM PDT, ID: 17784313

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.23.2006 at 06:03AM PDT, ID: 17788122

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.23.2006 at 06:07AM PDT, ID: 17788151

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: PHP for Windows
Tags: characters, php
Sign Up Now!
Solution Provided By: RQuadling
Participating Experts: 1
Solution Grade: A
 
 
[+][-]10.23.2006 at 06:15AM PDT, ID: 17788203

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.23.2006 at 06:56AM PDT, ID: 17788498

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.23.2006 at 07:00AM PDT, ID: 17788532

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.23.2006 at 08:02AM PDT, ID: 17789007

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.23.2006 at 10:17AM PDT, ID: 17789990

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.23.2006 at 02:22PM PDT, ID: 17791722

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.24.2006 at 12:43AM PDT, ID: 17794037

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.24.2006 at 12:52AM PDT, ID: 17794057

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.24.2006 at 01:01AM PDT, ID: 17794082

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.25.2006 at 06:33AM PDT, ID: 17803141

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.25.2006 at 09:11AM PDT, ID: 17804791

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.25.2006 at 09:12AM PDT, ID: 17804793

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.25.2006 at 11:28AM PDT, ID: 17805921

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.26.2006 at 12:37AM PDT, ID: 17809926

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32