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 [email protected]

Wednesday 28 January 2004 4:51:09 am

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

did add the multipart thing to your form?

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

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/