#39577 [Opn->Bgs]: Sendmail.php stops working after upgrade to 5.2
| From: | bjori@php.net | Date: | Fri, 08 Dec 2006 09:57:00 +0000 |
| Subject: | #39577 [Opn->Bgs]: Sendmail.php stops working after upgrade to 5.2 | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-33474@lists.php.net to get a copy of this message | ||
ID: 39577
Updated by: bjori@php.net
Reported By: dave at vcorrespond dot com
-Status: Open
+Status: Bogus
Bug Type: Website problem
Operating System: Win2k3
PHP Version: Irrelevant
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2006-11-23 08:31:19] dave at vcorrespond dot com
please tell me where do i find these logs
------------------------------------------------------------------------
[2006-11-22 13:41:35] smlerman at gmail dot com
A blank page is usually caused by a parse error in your code. Check
your error log for messages.
------------------------------------------------------------------------
[2006-11-22 05:21:36] dave at vcorrespond dot com
Description:
------------
I have a sendmail.php page which worked fine with 5.1.2. After the
upgrade to 5.2 the page produces a blank page, instead of taking the
browser to the thankyou page.
The site is http://www.vcorrespond.com/index_contact_us.htm
Reproduce code:
---------------
<?
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
if (!isset($_REQUEST['email'])) {
header( "Location: http://www.vcorrespond.com/index_contact_us.htm"
);
}
elseif (empty($email) || empty($message)) {
header( "Location:
http://www.vcorrespond.com/index_contact_us_error.htm"
);
}
else {
mail( "info@vcorrespond.com", "Web Contact Us Results",
$message, "From: $email" );
header( "Location:
http://www.vcorrespond.com/index_contact_us_thank_you.htm"
);
}
?>
Expected result:
----------------
index_contact_us_thank_you.htm
Actual result:
--------------
blank page of sendmail.php
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39577&edit=1