Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Upload file problem 27 Mar 2012 12:34 #1742

Hi, can anyone help me, i have a problem when upload files, every time that i upload a file, the file extension change to txt, no matters what extension are the file.

Thankyou

Please Log in or Create an account to join the conversation.

Re: Upload file problem 28 Mar 2012 06:54 #1753

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
What do you have in the 'Rename file' property of your file ?
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Re: Upload file problem 29 Mar 2012 19:46 #1781

Thanks, i changed this two lines in the upload class:

$pattern = "{ALIAS}.{MIMEXT}";
$pattern = "{ALIAS}.{EXT}";

$this->parsePattern($pattern, "MIMEXT", $this->extensionFromMime());
$this->parsePattern($pattern, "EXT", $this->extensionFromMime());

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.090 seconds
  I still don't believe he can really be human to do all this ! From all of the forums that I've ever participated in this is certainly the one that most encapsulates the feeling of being truly open source where everyone's opinions and contributions can and will shape the development of the service! It's truly awesome! Hope you enjoy cooking and look forward to reading and contributing to any of the editorial work that you proposed too!! Thanks
Gez (audibleid - JED)

Get Started