Hi!
I made this:
$article = mgd_get_article($id);
$att = $article->createattachment("$article->name","$article->title","");
I'd like attachment to has tha same name as article name.
Is mime type important?
And how to get mime type?
$fh = $article->openattachment($article->name,"w"); # and the attachment too.
fputs($fh, "$article->name");
fclose($fh);
I should use serve here but I do not understand why use serve and exit in the middle
of a page.
There are attachments records added to blobs table , but all 'files' are 0kb i blobs
directory.
And what is the proper url for all $object->attachment.
If there is any manual in clear form for this topic , just tell me.
Piotras
_________________________
http://www.infoglob.pl/sklep
http://www.milinski.com.pl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]