Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1. What is the difference between language construct and function? say some examples in
php?
Ans:
1. echo()
2. empty()
3. isset()
4. unset()
5. eval()
6. exit()
7. die()
8. include()
9. include_once()
10. require()
11. require_once()
12. return
Answer
Answer
var cookiename = 'testcookie';
exdate.setDate(exdate.getDate()+expiredays);
4. What about the session Id? Can we assign the value to session id?
Answer
When we open the site using http protocol, that time the server will
generate one unique alpha numeric id.
That id will store in tmp folder in server and the same id will stored cookie
path in client side.
That Id is called session id. We can assign the value in php.
Example
session_id($value);
When the request url will be changed that time the new session id will
be generated. The server will be watched which id is in idle that id
goes to the garbage collection folder in server.
Answer
Port : 80
7. If we set error off in php.ini file? What happen? Any error through browse or error will
store? If its store where it will store?
Answer
display_errors = off
In Browser, errors will not be display. But all errors will be stored log
file in server.