php-general | 2005051
Date: 05/08/05
- Next message: Murray @ PlanetThoughtful: "[PHP] Any alternative to POST method FTP uploads from client computer?"
- Previous message: The Doctor: "Re: [PHP] Question about acessing databases and formatting output"
- Next in thread: Andy Pieters: "Re: [PHP] Sending htm as it's being generated"
- Reply: Andy Pieters: "Re: [PHP] Sending htm as it's being generated"
- Reply: Rasmus Lerdorf: "Re: [PHP] Sending htm as it's being generated"
- Reply: Richard Davey: "Re: [PHP] Sending htm as it's being generated"
- Reply: Josip Dzolonga: "Re: [PHP] Sending htm as it's being generated"
- Reply: Brent Baisley: "Re: [PHP] Sending htm as it's being generated"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
How do I make the browser to display data as it being generated? I've
noticed some websites do this with cgi.
For example:
<html>
<head>
<title>XXX</title>
</head>
<body>
<%
$i = 0;
while (true){
echo "<p>" . $i++ . "</p>";
sleep(1);
}
%>
</body>
</html>
This scripts does not work: It only shows 0,1,2,3....[29] when the timeout
limit is reached.
Any ideas?
Thanks.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Murray @ PlanetThoughtful: "[PHP] Any alternative to POST method FTP uploads from client computer?"
- Previous message: The Doctor: "Re: [PHP] Question about acessing databases and formatting output"
- Next in thread: Andy Pieters: "Re: [PHP] Sending htm as it's being generated"
- Reply: Andy Pieters: "Re: [PHP] Sending htm as it's being generated"
- Reply: Rasmus Lerdorf: "Re: [PHP] Sending htm as it's being generated"
- Reply: Richard Davey: "Re: [PHP] Sending htm as it's being generated"
- Reply: Josip Dzolonga: "Re: [PHP] Sending htm as it's being generated"
- Reply: Brent Baisley: "Re: [PHP] Sending htm as it's being generated"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

