Hello!
i want FCK-Editor to save my upladed images in the Folder /images instead of /UserFiles/Images.
I changed the path in $GLOBALS["UserFilesPath"] in the php-file, but the script still uploads the image to /UserFiles/Images.
Which variables do I have to change else?
Thanx very much!
i want FCK-Editor to save my upladed images in the Folder /images instead of /UserFiles/Images.
I changed the path in $GLOBALS["UserFilesPath"] in the php-file, but the script still uploads the image to /UserFiles/Images.
Which variables do I have to change else?
Thanx very much!
RE: Change path for saving pics in Uploader
// Image Browsing
FCKConfig.ImageBrowser = true ;
The following uncommented line lets you select your server side language such as php, asp etc.
You must uncomment out this line for php
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php" ;
If you want to now set the exact place where the files will be stored you add the extra variable ServerPath like this.
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php&ServerPath=/new/file/path" ;
This should do the trick for you.
My question to anyone is how do you set this dynamically using php eg just say I want to give each user a different folder?
RE: Change path for saving pics in Uploader