From: [EMAIL PROTECTED]
Operating system: Windows 98 (Not SE)
PHP version: 4.0.5
PHP Bug Type: Reproducible crash
Bug description: PHP caused a stack fault in module PHP4TS.DLL at 0177:100a13c6.
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>
--
Edit Bug report at: http://bugs.php.net/?id=11854&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]