0x80070057 NS_ERROR_ILLEGAL_VALUE

Wenn man solch hässliche Fehler beim Benutzen von AJForm bekommt:

Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]

Dann liegt es sicherlich nicht an Outlook Express, sondern dann liegt es daran, dass das Action-Attribut eines Formulars leer ist. Beim Absenden eines Formulars mit leerem Action-Attribut wird das Formular normalweise einfach an die aktuelle URL gesendet, AJForm kommt damit allerdings nicht klar - macht auch nichts, man muss es nur wissen.

Laut RFC 2396 ist es übrigens erlaubt, leere URIs in einem Dokument zu benutzen und diese leeren URIs stehen dann für den aktuellen URI

4.2. Same-document References

A URI reference that does not contain a URI is a reference to the current document. In other words, an empty URI reference within a document is interpreted as a reference to the start of that document, and a reference containing only a fragment identifier is a reference to the identified fragment of that document. Traversal of such a reference should not result in an additional retrieval action. However, if the URI reference occurs in a context that is always intended to result in a new request, as in the case of HTML's FORM element, then an empty URI reference represents the base URI of the current document and should be replaced by that URI when transformed into a request.

Da sich aber nicht unbedingt alle Browser dran halten, sollte man vielleicht lieber gleich sowas benutzen:

action="'.$_SERVER['PHP_SELF'].'"