View Full Version : Using File Upload with safe_mode = on;
14-08-05, 04:51 AM
i have a problem with dotProject 2.0 and the file upload modul.
At our webserver safe_mode is enabled by the provider, and there's no
chance to turn it off.
But as you all might know, because of that the file upload modul can not work.
My question is now, if there's an alternative for this script, which isnt dependent
from safe_mode, and may offer another another solution to have the file upload working.
Thanks in advance
and see the limitations:
As you can see the functions necessary for file operations are disabled, therefore you can not execute them and so you can't upload.
16-08-05, 02:29 AM
i'm not that familar with PHP, but now this is clear to me.
Thanks for the answer!
05-08-06, 02:50 AM
Is uploading using HTTP an option here? if so... how would you handle any errors?
will adding the file to the project require any extra code?
each project has it's own folder, so if I manualy upload (ftp, http, etc) to the correct folder will it automaticaly show under that project's files ? ?
I tried using all the tips and tricks on here and none worked because my hosting has safe_mode ON hard coded and their PHP as CGI work around did not work.
thanks to anyone who can shed some light on this issue!!!
05-08-06, 03:54 AM
Wwill adding the file to the project require any extra code?
each project has it's own folder, so if I manualy upload (ftp, http, etc) to the correct folder will it automaticaly show under that project's files
No, that will not work. When a file is uploaded WITHIN THE dP SYSTEM it is indexed (for quick searches), renamed, and protected by the dP permissions system. If you simply place a file into a project files directory dP won't see it.
The only other option might be for you to 'link' the file to a project using the links module but that's a far cry from the intended purpose.
vBulletin® v3.6.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.