|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-09-16 15:42 UTC] rodrigo-rocha at oi dot net dot br
This script will make the setver to crash down
<?php
$filepointer = gzopen("somefile.txt","rb");
gzclose($filepointer);
echo "<script>
window.location='$_SERVER[REQUEST_URI]';
</script>";
?>
At my apache web server this crash after 508 loops.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 21:00:02 2025 UTC |
I've the same problem with fresh instalation of php 4.3.0 under Windows 2000 Server SP3, both under Apache 2.0.44 as module and with plain php.exe (CLI version). This code works similar: for ($i = 1; $i < 200; $i++) { $gz = fopen("compress.zlib://C:/Temp/$i.gz", "wb"); fwrite($gz, "Test"); fclose($gz); }