php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28570 false information in /manual/add-note.php
Submitted: 2004-05-29 22:22 UTC Modified: 2004-07-27 12:22 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: rohezal2000 at yahoo dot de Assigned:
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: -
Private report: No CVE-ID: None
 [2004-05-29 22:22 UTC] rohezal2000 at yahoo dot de
Description:
------------
I tried to post a note with http://de2.php.net/manual/add-note.php. An error occured (connection error with master.php.net). The resulting error page stated that "There was an error processing your submission. It has been automatically e-mailed to the developers, who will process the note manually."
However, this is not true. Having a look at the source of the page shows that no mail is being sent.

( $result is 'failed to open socket to master.php.net' )

Reproduce code:
---------------
//code taken from http://de2.php.net/source.php?url=/manual/add-note.php

       // If there is any non-header result, then it is an error
       if ($result) {
           if (strpos($result, '[TOO MANY NOTES]') !== FALSE) {
               print "<p class=\"formerror\">As a security precaution, we only allow a certain number of notes to be submitted per minute. At this time, this number has been exceeded. Please re-submit your note in about a minute.</p>";
           } else {
               echo "<!-- $result -->";
               echo "<p class=\"formerror\">There was an error processing your submission. It has been automatically e-mailed to the developers, who will process the note manually.</p>";
           }
       }

Expected result:
----------------
Mail sent to developers

Actual result:
--------------
No mail sent

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-27 12:22 UTC] nlopess@php.net
Gabor has removed that note.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 22:00:01 2026 UTC