This is regarding file uploading.
1. Who will be the owner of the uploaded file ?
2. What permission you will give for an uploaded file ?
3. What is mean by user, group and others and what kind of
permission you will give for each user and explain the
reason?
Answer / amitverma
1. Apache will be the owner of the uploaded file.
2. It depends upon the scenario on which we're going to use
the uploaded file(s), by default it's 660 file permission.
3. Basically a file in linux has permissions related to the
user (owner), group (owner group) and others (rest of the
users/groups). So accordingly we provide the permissions to
a file(s). Also, permission are basically related to READ,
WRITE and EXECUTE operations.
| Is This Answer Correct ? | 6 Yes | 0 No |
what is difference between edit and update?
what is DDL and DML?
Tell me how to create a session? How to set a value in session? How to remove data from a session?
What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?
11 Answers HCL, Rushmore Consultancy, Thursday Technology,
Explain the purpose of output buffering in php.
What are the functions for imap?
How long is session timeout?
what is "mysql_pconnect", i know mysql_connect but what it is pconnect is their?
What is the purpose of the following files having extensions 1) .frm 2) .myd 3) .myi? What do these files contain?
Explain what is memcache?
how to display and include the user system date/time in a php program/project
Can php run without apache?