Hi again,
that's working ($midgard= mgd_get_midgard();)
But now, next little Problem.
<?
mgd_errno();
$article = mgd_get_article();
$article->up="0";
$article->topic=42;
$article->name="testme".time();
$article->title="Rechner xx11111x";
$article->type="1";
$article->author=15;
echo "User: $midgard->user <br>";
mgd_auth_midgard('webuser+DVZ','09876',0);
$midgard = mgd_get_midgard();
echo "User: $midgard->user <br>";
if (! $id = $article->create() ) {
echo "Failed: " . mgd_errstr() . "<br>";
} else {
echo "Artikel erstellt: ID=".$id;
}
?>
with that I get:
User: 0
User: 15
Failed: Access denied
Topic 42 is owned by group anonym, also parent topic. User webuser is member
of anonym. Nothing in Apache Log.
regards Martin
--
mailto: `echo [EMAIL PROTECTED] | sed 's/[NOSPAM]//g'`
----------------------------------------------------------------
Nobody knows the Tribbles I've seen...
----------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]