Answer:
A PHP session is easily started by making a call to the session_start() function.This function first checks if a session is already started and if none is started then it starts one. It is recommended to put the call to session_start() at the beginning of the page.
Previous Question | Next Question |
How will you check if a file exists or not using php? | How will you open a file in readonly mode? |