php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39577 Sendmail.php stops working after upgrade to 5.2
Submitted: 2006-11-22 05:21 UTC Modified: 2006-12-08 09:57 UTC
From: dave at vcorrespond dot com Assigned:
Status: Not a bug Package: Website problem
PHP Version: Irrelevant OS: Win2k3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dave at vcorrespond dot com
New email:
PHP Version: OS:

 

 [2006-11-22 05:21 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-22 13:41 UTC] 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-23 08:31 UTC] dave at vcorrespond dot com
please tell me where do i find these logs
 [2006-12-08 09:57 UTC] bjori@php.net
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.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Jun 18 02:00:01 2026 UTC