I just installed fckeditor. The php upload is working fine. Images are saved in the /Upload/ directory.
When I click browse files, I can't see the uploaded images. He is looking in the image folder. The browser is also automaticaly creating the /Upload/image/ folder.
How can I prevent this?
Can I set the browser to browse in the /Upload/ directory?
If not, can I set the upload to upload in the /Upload/image/ and not in the /Upload/Image/ folder?
Thx
When I click browse files, I can't see the uploaded images. He is looking in the image folder. The browser is also automaticaly creating the /Upload/image/ folder.
How can I prevent this?
Can I set the browser to browse in the /Upload/ directory?
If not, can I set the upload to upload in the /Upload/image/ and not in the /Upload/Image/ folder?
Thx
RE: Browser / upload with PHP
RE: Browser / upload with PHP
RE: Browser / upload with PHP
try http://kfm.verens.com/
it doesn't create any subdirectories unless you ask it to.
Kae
RE: Browser / upload with PHP
RE: Browser / upload with PHP
I tried to install it, but when I run it, there comes a message box with following:
error: unknown data sent from client.
{\"t\":3,\"c\":[{\"f\":\"kfm_loadFiles\",\"v\":[1]},{\"f\":\"kfm_loadDirectories\",\"v\":[1]}]}
I configured all (FCKEditor and KFM) as it is shown in the documentation.
Any help ?
RE: Browser / upload with PHP
This should probably be asked in the KFM forums (http://kfm.verens.com/phpBB3/). Please ask there, and include information such as your browser version, server type (Windows, Linux, etc), version of PHP, etc. We can work it out then.
RE: Browser / upload with PHP
Thanks a lot.
RE: Browser / upload with PHP
You should modify line 89 "$sServerDir .= $sType . '/' ;" to "$sServerDir .= strtolower($sType) . '/' ;" and line 115 "$sFileUrl = $Config["UserFilesPath"] . $sType . '/' . $sFileName ;" to "$sFileUrl = $Config["UserFilesPath"] . strtolower($sType) . '/' . $sFileName ;"
RE: Browser / upload with PHP
RE: Browser / upload with PHP
Re: Browser / upload with PHP
Re: Browser / upload with PHP
If you can wait a couple of days, your problem will be solved.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+