#39577 [NEW]: Sendmail.php stops working after upgrade to 5.2
| From: | dave at vcorrespond dot com | Date: | Wed, 22 Nov 2006 05:21:36 +0000 |
| Subject: | #39577 [NEW]: Sendmail.php stops working after upgrade to 5.2 | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-33356@lists.php.net to get a copy of this message | ||
From: dave at vcorrespond dot com
Operating system: Win2k3
PHP version: Irrelevant
PHP Bug Type: Website problem
Bug description: Sendmail.php stops working after upgrade to 5.2
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 bug report at http://bugs.php.net/?id=39577&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39577&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39577&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39577&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39577&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39577&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39577&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39577&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39577&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39577&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39577&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39577&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39577&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39577&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39577&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39577&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39577&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39577&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39577&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39577&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39577&r=mysqlcfg