What is the default session time in PHP?
The default session time in php is until the closing of the browser
The default session time in php is until the closing of the browser
Yes, it is possible by setting the cookie with a past expiration time.
The use of the set_time_limit(int seconds) enables us to extend the execution time of a PHP script. The default limit is 30 seconds.
It is possible to pass the variables between the PHP pages using sessions, cookies or hidden form fields.
\034 is octal 34 and \x34 is hex 34.
The three basic classes of errors are notices (non-critical), warnings (serious errors) and fatal errors (critical errors).
Yes, we use the urlencode() function to be able to protect special characters.
The function eregi_replace() is identical to the function ereg_replace() except that it ignores case distinction when matching alphabetic characters.
It is possible to use the document.form.submit() function to submit the form. For example: <input type=button value="SUBMIT" onClick="document.form.submit()">
for is expressed as follows: for (expr1; expr2; expr3) statement The first expression is executed once at the beginning. In each iteration, expr2 is evaluated. If it is TRUE, the…