#28570 [NEW]: false information in /manual/add-note.php
| From: | rohezal2000 at yahoo dot de | Date: | Sat, 29 May 2004 20:22:51 +0000 |
| Subject: | #28570 [NEW]: false information in /manual/add-note.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-24764@lists.php.net to get a copy of this message | ||
From: rohezal2000 at yahoo dot de
Operating system: -
PHP version: Irrelevant
PHP Bug Type: Website problem
Bug description: false information in /manual/add-note.php
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
--
Edit bug report at http://bugs.php.net/?id=28570&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28570&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28570&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28570&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28570&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28570&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28570&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28570&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28570&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28570&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28570&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28570&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28570&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28570&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28570&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28570&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28570&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28570&r=float