the following script freezes apache
Posted by: JohnStalcup (---.static.twtelecom.net)
Date: March 17, 2008 05:02PM

put this script in a web accessible page, and then hit the page multiple times

you'll find that when two different web requests are running exec at the same time, apache freezes

<?php

for($i = 0; $i < 25; $i++)
{
    print($i);
    exec("dir"winking smiley;
}

?>

Options: ReplyQuote
Re: the following script freezes apache
Posted by: JohnStalcup (---.static.twtelecom.net)
Date: March 17, 2008 05:32PM

nevermind, i'm an idiot, see [bugs.php.net] and [us2.php.net]

Options: ReplyQuote


Sorry, only registered users may post in this forum.