Forums / Developer / Uploading files in extension

Uploading files in extension

Author Message

Eirik Alfstad Johansen

Tuesday 27 January 2004 2:38:06 am

Hi,

I'm having trouble uploading files in one of my module extensions. The problem is that the post variable which should contain the uploaded file does not exist (print_r($_POST)). I've tested the upload script on the same domain and file, but outside the ezp code, and then it works, so I belive it's something ezp specific.

Any setting or something similar that applies to file uploads?

Thanks in advance !

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Björn X

Wednesday 28 January 2004 4:51:09 am

<form enctype="multipart/form-data" method="post"

did add the multipart thing to your form?

Eirik Alfstad Johansen

Wednesday 28 January 2004 6:26:17 am

Hi Björn,

Yes, I did.

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/