Log in or register to post comments
Last post
Need to use $_GET
Hallo, I really need to use $_GET parameter inside CKFinder, but due to protection is changed and passed values are not available. How to add new "safe" parmeter to $_GET?
$_SESSION cannot be used.
(REQUEST_URI is modified too...)
Re: Need to use $_GET
Are you looking for this: config.connectorInfo ?

Wiktor Walc
CTO
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+

Re: Need to use $_GET
No, this not. Very simply, I need to send some values/$_GET parameters from caller of CKFinder to CheckAuthentication() function in config.php. But $_SESSION array cannot be used.
Re: Need to use $_GET
That's exactly the option you are looking for then.

Sample usage:

<script type="text/javascript">
var finder = new CKFinder();
finder.basePath = '/ckfinder/';
finder.connectorInfo = 'foo=bar';
finder.create();
</script>


Check ajax requests in Firebug.

Now in config.php you can access $_GET['foo']

Wiktor Walc
CTO
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+

Re: Need to use $_GET
Sorry, my mistake.
Is any way, how to set this config property via "manual integration" of CKFinder?

 CKEDITOR.replace( 'editor1',
{
   filebrowserBrowseUrl : '/ckfinder/ckfinder.html'
});
Re: Need to use $_GET
Rike wrote:Hallo, I really need to use $_GET parameter inside CKFinder, but due to protection is changed and passed values are not available. How to add new "safe" parmeter to $_GET?
$_SESSION cannot be used.
(REQUEST_URI is modified too...). I also tried looking at the guide, but it is not in English, I know there are companies that provide translation services, maybe I could hire one.


Hi Rike,

I am trying to do the same thing. I see that wiktor's suggestion of config.connectorInfo did not work for you. Did you try it? Did you figure out a way how to do it? sorry for my bad English.