List Info

Thread: note 71440 added to features.file-upload




note 71440 added to features.file-upload
user name
2006-11-29 05:11:56
Before you even bother doing anything, verify the filesystem
your permanent upload directory will reside on. Use NTFS
before you even start! (Assuming you're on Windows.)

Unfortunately, because I've been preparing to switch to
Linux on this machine, I thought it would be a *great* idea
to use FAT32 so I could access my websites from both Windows
and Linux (this is not a production box, but where I am
creating a CMS).

This was a *bad* idea...since the filesystem is not NTFS,
now the only permissions I can set are *share* permissions.

I *guess* that *share* permissions are not used through the
webserver, because even though the user Apache runs as is
one of the users given permissions "Read" and
"Modify" share permissions, the file cannot be
permanently saved via neither move_uploaded_file() nor
copy().

I verified this by using conditionals with !is_readable()
and !is_writable() to echo specific messages.

So, now I have to back up everything I've done, reformat
that partition as NTFS, copy everything over again, and set
all the permissions, including on databases that I am using
with other pages. *(sigh)*
----
Server IP: 64.71.164.2
Probable Submitter: 71.83.58.226
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.php
Edit        -- https://master
.php.net/note/edit/71440
Del: integrated  -- h
ttps://master.php.net/note/delete/71440/integrated
Del: useless     -- http
s://master.php.net/note/delete/71440/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/71440/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/71440/spam
Del: non-english -- 
https://master.php.net/note/delete/71440/non-english
Del: in docs     -- http
s://master.php.net/note/delete/71440/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/71440
Reject      -- https://mast
er.php.net/note/reject/71440
Search      -- https://
master.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )