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 |
How do I update php?
How do you execute a php script from the command line?
How to create a session? How to set a value in session? How to remove data from a session?
Tell me what are the different types of errors in php?
hi,am a fresher in sap sd,will i try as a fresher or i wl go for with 2 to 3 yr exp,pls suggest me which web site is best for sap freshers.
What are the rules in creating php variable?
Is php dead 2019?
Does php use html?
What is final class and final method?
Tell me what are the correct and the most two common way to start and finish a php block of code?
Does php support inheritance?
What are the difference between include_once & Require_once?