Forums / Developer / Uploading files in extension

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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/