troubleshooting Question

FCK Editor - Configuring PHP Image Upload

Avatar of DragXSlay
DragXSlayFlag for United States of America asked on
6 Comments1 Solution961 ViewsLast Modified:
I need to be able to set a dynamic userfilespath and userfiles URL when instantiating the FCK Editor in PHP.  I need to force the upload of all images, pdf's, etc. into the $client_path (in the code below).  Also, when it loads the image in the preview and inserts it into the editor code, I need to force the URL it loads from as $client_url.  Any help on this would be GREATLY appreciated.  Thank you!
$oFCKeditor = new FCKeditor('body');
$oFCKeditor->BasePath = 'fck/';
$oFCKeditor->Width = 750;
$oFCKeditor->Height = 500;
$oFCKeditor->Value = $ed_body;
$oFCKeditor->Config['EnterMode'] = 'br';
$oFCKeditor->Config['UserFilesPath'] = $client_path;
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros