I'm using fckeditor 2.6.3 in a PHP website.
I need to set the image upload path dynamically as this changes according to the category the user chooses (ie. each category has it's own image directory).
After spending ages wondering why I couldn't get this to work I finally realised the problem is coming in because I am setting the session name (ie. session_name('my_session_name')) instead of using the default. If you do this then fckeditor unfortunately does not create the image upload directory where you specify in the session variable. I don't want to use the default session name (ie. PHPSESSID) as this stands out like a sore thumb in the url. My code is not forcing the user to have cookies enabled but switching over to propagating the session via the url if cookies are disabled.
Can anyone come up with any idea as to how I can set the fckeditor image upload path dynamically and still set the session name to a custom name
Your assistance would be most appreciated.
Regards,
CAZ
Thu, 01/22/2009 - 11:39
#1