----- Original Message -----
From: "Emiliano" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 29, 2000 7:56 PM
Subject: Re: [midgard] blobs, files and images
>
Thnx guys, appreciated!
but it's a neverending story, isn't it...
midgard complaints that $object->deleteattachment(string name) and
$object->delete_attachment(string name) are unimplemented or undefined.
mgd_delete_attachment(int id) works fine with me though...
And another strange thing I don't understand, really. Uploading files.
Copied David's code 'as is', and it worked fine. Then it stopped working.
Basta. Now, whenever I try to upload something, it bangs a warning:
'Warning: Only 8192 bytes were written, expected to write <here goes the
real file size> in /etc/httpd/conf/midgard-root.php3 on line 18 (sometimes
it's line 0)'
Could it be it's a browser's bug (IE5) or what? I'm using a little
redirection on site, but that's way before file upload, and it was there
before, while upload worked. Confusion is nice word for this :)
Could you explain mgd_auth_midgard() again? Emiliano said in one of his msgs
that mgd_auth_midgard($usrname,$passwd,0) authorizes user w/o sending the
cookie. What's the difference between 1 and 0 as last parameter, both of
them send me the cookie. I tried authorizing with
mgd_auth_midgard($username,$password,0); and $midgar->user was 0. Then I
used header("Location: $midgard->uri"); and $midgard->user became expected
user id. Same thing when logging user out. I'm using midgard from CVS, May
28, 16:34 if that matters.
Cheers,
Vanja
--
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]