For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > July 2004 > #28570 [Opn->Csd]: false information in /manual/add-note.php









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #28570 [Opn->Csd]: false information in /manual/add-note.php
nlopess@php.net

2004-07-27, 8:57 am

ID: 28570
Updated by: nlopess@php.net
Reported By: rohezal2000 at yahoo dot de
-Status: Open
+Status: Closed
Bug Type: Website problem
Operating System: -
PHP Version: Irrelevant
New Comment:

Gabor has removed that note.


Previous Comments:
------------------------------------------------------------------------

[2004-05-29 22:22:49] 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


------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=28570&edit=1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com