You are not logged in.
Has anyone figured out a system to restrict uploaders to certain directories yet, that they wouldn't mind sharing ?
I'm coding a system that could have many different users and it would make more sense for them to only be able to access their own folder rather than have free reign - you know what some people are like...
Many thanks
Offline
OK from looking around it doesn't look like there is much in the way of support here - many many unanswered questions in this forum - is this project still alive ?
I've tried everything I can think of. I just need to dynamically change the images folder within PHP.
Please don't direct me here : http://xinha.webfactional.com/wiki/Plug … ileManager
That does not explain how to do it.
When I call up the editor I just need to pass the image directory URL across somehow - I just don't see how to do it from that 'example' in the readme - to me that just looks like it is just setting up the Javascript config file using php - how is that dynamic if I can't change it on the fly from within my program ?
Anyone still interested enough in this editor to help me out please ?
Cheers
Last edited by Freddy (2009-07-29 09:36:52)
Offline
To give you a better idea of what I am trying to do - say I have this echoed out onto my HTML page to set up Xinha :
<script type="text/javascript">
_editor_url = "http://localhost/blogmod/xinha/" // (preferably absolute) URL (including trailing slash) where Xinha is installed
_editor_lang = "en"; // And the language we need to use in the editor.
_editor_skin = "blue-look"; // If you want use a skin, add the name (of the folder) here
</script>
Is there some way there I can set up the EFM configuration ? Something like this....
<script type="text/javascript">
_editor_url = "http://localhost/blogmod/xinha/" // (preferably absolute) URL (including trailing slash) where Xinha is installed
_editor_lang = "en"; // And the language we need to use in the editor.
_editor_skin = "blue-look"; // If you want use a skin, add the name (of the folder) here
_images_dir = "path/to/images";
</script>
???
Offline
Any one ?
Offline
Offline
Yes that's the configuration details. Thanks but I already looked at that - it doesn't help with what I am asking about
Offline