how to add file in php?
Answer / phpdev
By using include() and require() functions we can add a file
in php..
include() and require() functions takes a file name and
simply inserts that file's contents into the script..
SYNTAX:include("filename");
| Is This Answer Correct ? | 9 Yes | 0 No |
what is Abbreviavion of PHP?
How to restrict the number of users login ? For ex:- if the allowed login is 10, for 11th user, the application should restrict them from login.
Why die is used in php?
Which function is used in php to count the total number of rows returned by any query?
How to implement a class named dragonball. This class must have an attribute named ballcount (which starts from 0) and a method ifoundaball. When ifoundaball is called, ballcount is increased by one. If the value of ballcount is equal to seven, then the message you can ask your wish is printed, and ballcount is reset to 0. How would you implement this class?
What is namespace in php?
Is session a cookie?
What is composer json?
How can you parse files that were not ending with .php by using Apache?
Explain Type juggling?
What is use of header() function in php? What the limitation of header()?
What is the purpose of php?