Hi,
is there any source where i can look for some code how to insert an
attachement.
I have a multipart/form-data form, a input type file, some code:
...
$article=mgd_get_article($argv[0]);
if ($userfile) {
echo $userfile."<br>";
echo $userfile_name."<br>";
echo $userfile_size."<br>";
echo $userfile_type."<br>";
echo "<hr>";
$att = $article->createattachment("$userfile_name","$userfile_name",
"$userfile_type");
xxxxx
}
So, but what now, how do I get file /tmp/ikUhionjk3 ($userfile) into the
attachment. I need some code f�r the xxxxx section ;-) or some useful
example.
regards Martin
--
mailto: `echo [EMAIL PROTECTED] | sed 's/[NOSPAM]//g'`
----------------------------------------------------------------
Why do we elect people and then become afraid of them?
----------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]