Menu

Withou Refresh

Hilfe/Help
2002-04-09
2002-04-12
  • Jonis Maurin Ceara

    Hi...why phpopnchat have refreh!?!?
    why not stream?!!?  :(

    whell, if authors dont know the code for this (i dont think this):

    set_time_limit(0);
    for ($x=0;$x<50;$x++) {
    echo "<!--isso eh um comentario (buffer) !-->\n";
    echo "<font></font>\n";
    }

    while (1<10) {
    flush();
    echo "Data from DB <br>\n";
    flush();
    sleep(2);
    }

    []s

     
    • Mirko Giese

      Mirko Giese - 2002-04-12

      until version 2.0 we had streaming, but streaming with php has a bad performance-issue: the maximum user-count is limited by the maximum possible apache-processes. by using a refreshing version you can have much more users with the same ressouces. thats the only reason.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.