CodeIgniter Forums
php safe mode and ci upload - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: php safe mode and ci upload (/showthread.php?tid=2980)



php safe mode and ci upload - El Forum - 09-03-2007

[eluser]Unknown[/eluser]
hi there,

trying to create an image upload form (which resizes them on the fly, creates thumbnails etc).

but apparently the server is running safe_mode, and I'm getting this error (had to modify the upload library to actually see it):

Code:
Message: copy() [function.copy]: SAFE MODE Restriction in effect. The script whose uid is 10073 is not allowed to access /var/www/vhosts/######.###/httpdocs/project_images/2 owned by uid 33

How do I make it work in this case, with safe_mode on? All ideas will be helpful.

Cheers,
Martin