IT Community - Software Programming, Web Development and Technical Support

How to to check a php server support for

This is a discussion on How to to check a php server support for within the PHP Programming forums, part of the Web Development category; Hi there, I am working now to get flush working on my page, I took this script for example: [code:...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > PHP Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 04-22-2007, 11:05 PM
montyauto montyauto is offline
D-Web Programmer
 
Join Date: Feb 2007
Posts: 55
montyauto is on a distinguished road
Thumbs up How to to check a php server support for

Hi there,

I am working now to get flush working on my page,
I took this script for example:

[code:1]<pre>
<?php

ob_end_flush();

echo "Test1\n";
flush();
sleep(3);

echo "Test2\n";

?>
</pre>[/code:1]


It works on my own server but not in a web hosting.

I have put in .htaccess
[code:1]<IfModule mod_gzip.c>
mod_gzip_on no
</IfModule>[/code:1]

I put flush all HTML up to and including the <body> tag (<head>, <meta>, etc.), the browser won't respond.

Is there stil something I've missed?
What is the easiest way to check a php server support for flush?[/code]
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Yahoo announced to support OpenID senthilkannan Yahoo 0 01-21-2008 11:37 PM
QTP support JAVA? vadivelanvaidyanathan Testing Tools 0 08-22-2007 12:33 AM
.Net support validating XML? devarajan.v XML and SOAP 2 08-13-2007 11:53 PM
.Net framework support SAX? devarajan.v XML and SOAP 1 07-26-2007 04:43 AM
C # Support C type macros~! vigneshgets C# Programming 0 05-17-2007 07:19 AM


All times are GMT -7. The time now is 03:17 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0