I'm uploading to a 777 permissions folder. The uploads work however the uploaded files have 664 permissions and an 'Owner' of 'nobody'.
How can i change the following scipt to upload files as 777 and set an Owner ?
code comes from Plupload's upload.php file
if (strpos($contentType, "multipart") !== false) {
if (isset($_FILES['fi...
I am working on an application that uses the plupload library for file uploading. I can't seem to get the file uploading working because there is some kind of error but I can't get this error to alert or log.
Has anyone been able to do this?
Here is my current code:
uploader.bind('Error', function(error){
console.l...
I have been successful in porting over plupload into Codeigniter, but when a user uploads a file, the filename comes out like this: _1, _2, _3, etc.
What could be causing this error?
Here is my CodeIgniter Controller:
function do_upload($fileName) {
// Settings
$targetDir = getcwd() . "/uploads/";
$clea...
When I upload a picture
File size: 375kb
Width: 2000px
Height: 3000p
I get an error
ERROR
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to
allocate 2157 bytes) in...
Why this happen, when 67108864 = 64MB
I use shared server if .htaccess
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ...
Hey there,
I've been working for a bit on this code, making in function just as I'd like it, but in the end I guess I missed something pretty big: the files don't seem to be uploading. The progress bar has been perfectly tweaked, the dialog box works well, just no files are being uploaded.
What's going on?
My Javascript:
fileCou...