Hi,

I posted a question about my problem a few days ago but the reply didn't
help me, so:

I want to use the mgd_create_file function to attach a file to an
article.

There should be 6 parameters, right? :
*article : I understand
*type : this should be the mime type? I really don't know what to fill
in here, or what mime types exist.
*name : what's this? Just a name to identify the file or is this the
actual file name?
*content : don't know
*size : I can get this in PHP ($filename_size)
*md5 : this should be an encrypted key/string? why do I need it? How do
I get it?

I uploaded a file test.txt to a tmd dir (/tmp/test.txt) with a html
upload form, I heard you should first upload the file before you can use
mgd_create_file. 

Can someone give me a real-life coded example how I can get it to work
with above config?

Thanks in advance!

Best regards,
Thor Wijnen

-- 
Thor Wijnen <[EMAIL PROTECTED]>
ibuildings.nl -- information architects
tel: 0118 415054, fax: 0118 413314

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to