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 we load all classes that placed in different directory in one php file , means how to do auto load classes.
What is php routing?
What is php beginner?
What is difference between echo and print_r in php?
How to find datatype of variable in php?
What are some new features introduced in php7?
What does a dependant variable mean?
What is the scope of career in PHP/Mysql
Why laravel is the best php framework in 2019?
why we used type-pool SLIS in ALVs? how many types of windows in scripts?
What is difference between mysql_connect and mysqli_connect?
How to receive a cookie from the browser?