|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48312 Posting Notes SPAM filtering
Submitted: 2009-05-17 17:28 UTC Modified: 2009-05-22 07:49 UTC
From: scott at thebrain dot ca Assigned:
Status: Wont fix Package: Website problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: scott at thebrain dot ca
New email:
PHP Version: OS:


 [2009-05-17 17:28 UTC] scott at thebrain dot ca
Also see bug #45055 posted and dismissed as bogus.

Attempting to post an example of creating xml namespaces fails, identified as spam.

That earlier post complains no specific reason is given.
That earlier post suggests it may be caused by too many links.

Perhaps this is why there are no examples posted.

The note I tried to post follows:

Reproduce code:
From manual page: domdocument.createelementns

A namespace prefix example.

$doc = new DOMDocument('1.0', 'utf-8');
$root = $doc->createElementNS('','element');
$item = $doc->createElementNS(
echo $doc->saveXML();
echo "\n",$item->namespaceURI;
echo "\n",$item->prefix;
echo "\n",$item->localName;


(I cannot paste the output or the automated spam detection thinks this note is spam - too many links?).


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-22 07:49 UTC]
We simply cannot remove that restriction due to spammers.
As your example was however good I have incorporated it into the docs (
It should show up in the docs later today.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Feb 22 12:01:29 2024 UTC