> > Below is the code we use :
> >
> > <?
> > $id = $_REQUEST["id"];
> > $score = $_REQUEST["score"];
> > $type = $_REQUEST["type"];
> > $name = $_REQUEST["name"];
> > $abstract = $_REQUEST["abstract"];
> > $topic = $_REQUEST["topic"];
> > $extra2= $_REQUEST["extra2"];
> > $extra3= $_REQUEST["extra3"];
> > $title = $_REQUEST["title"];
> > $content = $_REQUEST["isi"];
> >
> > if(! $article = mgd_get_article( $id ))
> >  {
> >    echo "<center><font color=\"red\"><strong>Could not get article
$article->title.<br>\n";
> >    echo "reason: " . mgd_errstr()."</strong></font></center>";
> >  }
>
> else
>  {
>  $article->title = $_REQUEST["title"];
>  $article->topic = $topic = $_REQUEST["topic"];
>  // and so on
>  if (! $update = $article->update() )
> print " Article is not updated cause of: ";
> print mgd_errstr();
>   }

First, the code says nothing about authorization. Was mgd_auth_midgard
performed with success? Does the user belog to owner group?

Solt


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to