<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1022349" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1022349</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/proper-use-flush#comment-1138418</link>
    <description> &lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt; i&#039;m using LAMP with mozilla and i didn&#039;t get ti sent actively. i got it all at once&lt;/p&gt;
 </description>
     <pubDate>Fri, 26 Sep 2003 16:12:34 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1138418 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/proper-use-flush#comment-1138288</link>
    <description> &lt;p&gt;i think more specifically some servers override it, not browsers (while some browser may but i&#039;ve never experienced it), in particular most or all Windows servers.  They don&#039;t necessarily override it, they just provide their own buffering, so while the php app flushed it&#039;s still caught up in the webserver.&lt;/p&gt;
 </description>
     <pubDate>Wed, 24 Sep 2003 02:18:41 +0000</pubDate>
 <dc:creator>ROB</dc:creator>
 <guid isPermaLink="false">comment 1138288 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/proper-use-flush#comment-1138280</link>
    <description> &lt;p&gt;it&#039;s a set of lines with  at the begining of each. i noticed in the write up it says that some browser override it (specifcally ie)&lt;/p&gt;
 </description>
     <pubDate>Tue, 23 Sep 2003 18:30:08 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1138280 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/proper-use-flush#comment-1138223</link>
    <description> &lt;p&gt;If the content your flushing is within certain HTML blocks (like tables), then the content wont be displayed untill the browser sees the end of the block.&lt;/p&gt;
 </description>
     <pubDate>Mon, 22 Sep 2003 18:49:27 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1138223 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/proper-use-flush#comment-1138053</link>
    <description> &lt;p&gt;i did that so it would update as it moves from table to table. but it still didn&#039;t print out actively. went back and read it again. some browsers override flush. not sure if that&#039;s why it did that or not. i&#039;m testing the site in mozilla 1.3.1 then making sure the display isn&#039;t too far off in ie. &lt;/p&gt;
&lt;p&gt;i figure ie is going to be forgotten by the masses before M$ comes out with the new browser, so since i like mozilla that&#039;s what all the messages say to use if somethng&#039;s brokeni note it was tested in mozilla 1.3.1 and the person browseing should upgrade to the latest stable release of mozilla (i know it&#039;s at 1.4.1 but i&#039;m going to upgrade after i complete the site simply so i&#039;ll know the site can be handled by 1.3.1 since alot of people i know only upgrade every 2 or 3 changes that aren&#039;t marked as security fixes)&lt;/p&gt;
 </description>
     <pubDate>Thu, 18 Sep 2003 18:25:36 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1138053 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/proper-use-flush#comment-1138015</link>
    <description> &lt;p&gt;That would work.&lt;/p&gt;
&lt;p&gt;I usually put it at the bottom of the inside of large loops.&lt;/p&gt;
 </description>
     <pubDate>Thu, 18 Sep 2003 00:54:37 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1138015 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/proper-use-flush#comment-1137895</link>
    <description> &lt;p&gt;ok. so that would mean i need to place it after each sql action?  or at the end of all of them? (i want ti to update as it moves through them because it takes a little while since i&#039;m on a p1 (pre-mmx)/166mhz processor)&lt;/p&gt;
&lt;p&gt;ie:&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;echo \&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;br /&amp;gt;Deleting of user &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$deluser&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; from table BIO\&quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flush();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$dfs&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;=mysql_query(\&quot;DELETE FROM bio WHERE uid=&#039;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$todel&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;\&quot;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$db&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(mysql_affected_rows(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$db&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;)==1){ // successful deletion&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$gone&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;++; echo \&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;br /&amp;gt;Removed &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$deluser&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; (user # &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$todel&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;) from table BIO\&quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }else{ // error&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$errno&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;=mysql_errno(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$db&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;); &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$error&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;=mysql_error(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$db&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;); &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$delerr&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;=1;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$errs&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;.=\&quot;&amp;lt;br /&amp;gt;Bio:&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$errno&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$error&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;\&quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo \&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;br /&amp;gt;Deleting of user &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$deluser&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; from table COMMENTS\&quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flush();&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;or the end of each of those?&lt;/p&gt;
 </description>
     <pubDate>Mon, 15 Sep 2003 18:31:47 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1137895 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/proper-use-flush#comment-1137889</link>
    <description> &lt;p&gt;flush() only sends whatever output is in the buffer to the client.  There&#039;s no way it could corrupt your db, or otherwise alter the performance of your script.&lt;/p&gt;
 </description>
     <pubDate>Mon, 15 Sep 2003 17:05:18 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1137889 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
