PHP 4.0 Bug #8030 Updated: Cropping of long pages with thttpd/php
| From: | sas@php.net | Date: | Sat, 10 Mar 2001 22:32:15 +0000 |
| Subject: | PHP 4.0 Bug #8030 Updated: Cropping of long pages with thttpd/php | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-48608@lists.php.net to get a copy of this message | ||
ID: 8030
Updated by: sas
Reported By: louis@sixnet.net
Old-Status: Open
Status: Closed
Bug Type: Other web server
Assigned To:
Comments:
This has been fixed in CVS and will be part of the PHP 4.0.5 release. Thanks for your report.
Previous Comments:
---------------------------------------------------------------------------
[2000-11-29 06:08:09] louis@sixnet.net
I'm using PHP 4.0.3pl1+thttpd to print out a table of users and their details from an mSQL
database. However, the page cuts short at random points and fails to display to the end. The
database has about 230 entries and will probably grow to over 1000 in future. When I run the exact
same script on Apache+PHP 4.0.1pl2 it works fine. Is this a PHP 4.0.3pl1 or a thttpd issue?
A slightly modified script (for security) so that you can replicate the error is here:
http://register.1shop.org:1234/users.php
The page should end with the user "yellowr" and then a link below the table to "View
disk space usages".
The snippet of code doing the table generation is:
<table cellpadding="5" bgcolor="Navy">
<tr
bgcolor="White"><td><b>User</b></td><td><b>Hosting
Option</b></td><td><b>e-mail Address</b></td><td>
</td></tr>
<?
// Read in the table of users from the database
$result=msql("oneshop","select user,hosting,email from users order by user");
// Output the users and hosting option assigned to them as the first two cells on the row
for($i=0;$i<msql_numrows($result);$i++)
{
echo "<tr bgcolor="White"><td
nowrap>",msql_result($result,$i,"user"),"</td>n<td nowrap>";
switch(msql_result($result,$i,"hosting"))
{
case 1: echo "1shop & sub-directory"; break;
case 2: echo "1shop & own domain"; break;
case 3: echo "hosted elsewhere"; break;
default: echo "<b>Error in <i>users.php</i>:</b> Hosting
option invalid.";
}
echo "</td>n";
echo "<td nowrap>*****(blanked intentionally)</td>n";
// Now output radio boxes to offer deletion the user on that row
echo "<td nowrap><font size="-3"><a
href="users-del.php?user=",msql_result($result,$i,"user"),"">DELETE</a></font></td>n</tr>";
}
?>
</table>
Thanks,
Louis
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8030&edit=2