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 |
Tell me is it possible to submit a form with a dedicated button?
Do you know what is the use of rand() in php?
What is cms php?
How to make a file encrypt and decrypt?
How is the ternary conditional operator used in php?
Which is not a php magic constant?
how to insert, update data in database
I have two radio button, i click one radio button display one dropdown box, one text field. and then click another radio button display one text field.so any one give me good idea plz.....i used <div id="" style=display:none> but not work..
where do we use htaccess?
What is an example of a variable?
What is indexing how many types?
3 Answers DLF, Infosys, Net Solution, Vcare,
How to reset/destroy a cookie in php?