61⟩ Tell me how can we register the variables into a session?
<?php
session_register($ur_session_var);
?>
“Internee PHP Developer based Frequently Asked Questions in various Internee PHP Developer job interviews by interviewer. These professional questions are here to ensures that you offer a perfect answers posed to you. So get preparation for your new job hunting”
<?php
session_register($ur_session_var);
?>
☛ Directory
☛ stdClass
☛ __PHP_Incomplete_Class
☛ exception
☛ php_user_filter
The string function strstr(string allString, string occ) returns part of allString from the first occurrence of occ to the end of allString. This function is case-sensitive. stristr() is identical to strstr() except that it is case insensitive.
The scope of a variable is the context within which it is defined. For the most part all PHP variables only have a single scope. This single scope spans included and required files as well.
In PHP an extended class is always dependent on a single base class,that is, multiple inheritance is not supported. Classes are extended using the keyword 'extends'.
The mysql_error() message will tell us what was wrong with our query, similar to the message we would receive at the MySQL console.
It is possible to pass the variables between the PHP pages using sessions, cookies or hidden form fields.
There are some defference between GET and POST method
1. GET Method have some limit like only 2Kb data able to send for request
But in POST method unlimited data can we send
2. when we use GET method requested data show in url but
Not in POST method so POST method is good for send sensetive request
The first is the concatenation operator (‘.’), which returns the concatenation of its right and left arguments. The second is (‘.=’), which appends the argument on the right to the argument on the left.
Yes, it’s possible to integrate (Distributed) Component Object Model components ((D)COM) in PHP scripts which is provided as a framework.
unlink() deletes the given file from the file system.
unset() makes a variable undefined.
we will need to compile PHP with the GD library of image functions for this to work. GD and PHP may also require other libraries, depending on which image formats you want to work with.
The three basic classes of errors are notices (non-critical), warnings (serious errors) and fatal errors (critical errors).
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()”>
The function parse_ini_file() enables us to load in the ini file specified in filename, and returns the settings in it in an associative array.