Bug #11854 Updated: PHP caused a stack fault in module PHP4TS.DLL at 0177:100a13c6.
| From: | derick@php.net | Date: | Tue, 03 Jul 2001 11:42:08 +0000 |
| Subject: | Bug #11854 Updated: PHP caused a stack fault in module PHP4TS.DLL at 0177:100a13c6. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58795@lists.php.net to get a copy of this message | ||
ID: 11854
Updated by: derick
Reported By: toxic_@hotmail.com
Old-Status: Open
Status: Closed
Bug Type: Reproducible crash
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
There is no way to prevent PHP from doing this. Infinite recursion is not supported, and the
performance hit to check for this would be too high, and there is a possbility that this
doesn't work even.
Derick
Previous Comments:
---------------------------------------------------------------------------
[2001-07-03 07:39:33] toxic_@hotmail.com
PHP caused a stack fault in module PHP4TS.DLL at 0177:100a13c6.
Was coding a Mail script - Was trying to call the same function within a function (to draw it out as
what to do with the vars on the page).
Overview: Variables Coming in -> Mail the Data || No Variables -> Draw the form
Running PHPTriad 2.11 -> PHP 4.0.5 & Apache(win32) 1.3.14
<?
// Filename : blah.php
function snail () {
if (isset($sub_mail) || isset($body_mail) || isset($name_mail) || isset($from_mail)) {
echo "Your Mail has Been Sent. Thank you for your response.";
} else {
echo "<FORM METHOD='POST' ACTION='".snail()."'>";
echo "Email: <INPUT TYPE='text' NAME='from_mail'>";
echo "<INPUT type='submit'>";
echo "</FORM>";
}
}
?>
<?
require ("blah.php");
?>
<HTML>
<BODY topmargin=1 leftmargin=3 BGCOLOR="#FFFFFF" TEXT="#000000"
LINK="#663366" ALINK VLINK>
<?= snail (); ?>
</BODY>
</HTML>
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11854&edit=2