Hello
by trial and error (dont really know what I'm doing!) I got this script working and can now upload from _ _. File name image.jpg becomes image_1.jpg, image_2.jpg etc..
1. Follow intsructions above.
2. add $file_Name = $file['name']; to list of variables in the new code
3. edit all instances of $this->file_Name in new code to $file_Name
bingo - it now works.
Probably someone can do a better job.
Terry
Unable to upload files withe same name twice?
-
- Phoca Newbie
- Posts: 4
- Joined: 12 Apr 2015, 01:16
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Unable to upload files withe same name twice?
Ok, thank you very much for this info, which version of PHP you are running on your server (or your webhosting provider runs)?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 14 Sep 2016, 10:12
Re: Unable to upload files withe same name twice?
Hi, in ios10 the issue with images filename is finally resolved!!!
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Unable to upload files withe same name twice?
Ok, great to hear it.
Thank you, Jan
Thank you, Jan
If you find Phoca extensions useful, please support the project