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.077 seconds

  I found "cook" two days ago. Played around with it for a day and then within a day got rid of two legacy applications in IBM Lotus Domino Notes and replaced them with "cook". It was really easy. A piece of cake. Actually it was even easier than cooking. Cooking involves more work than developing with "cook". What can I say about "cook"? Great application great price for what it delivers great forum with a lot of information and fast responses active and friendly community fast forward moving development cycle So what should I say "Monsieur Le Cook"? Keep the good work going it will lead to success. Having become a paying member in the words of Edith Piaf may I say ..... non rien de rien ... je ne regrette rien. Vive La France.
FK (JED)
         

Get Started