#39577 [Opn]: Sendmail.php stops working after upgrade to 5.2

From: Date: Thu, 23 Nov 2006 08:31:20 +0000
Subject: #39577 [Opn]: Sendmail.php stops working after upgrade to 5.2
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-33365@lists.php.net to get a copy of this message
ID: 39577 User updated by: dave at vcorrespond dot com Reported By: dave at vcorrespond dot com Status: Open Bug Type: Website problem Operating System: Win2k3 PHP Version: Irrelevant New Comment: please tell me where do i find these logs Previous Comments: ------------------------------------------------------------------------ [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

« previous php.mirrors (#33365) next »