The difference between include() and require()
are different how they handle failure
both are same in every aspects
is include() produced a Fatal Error while require results in a Warning
none of above
When a file is included the code it contains, behave for variable scope of the line on which the include occurs
Any variable available at that line in the calling file will be available within the called file from that point
Any variable available at that line in the calling file will not be available within the called file
Variables are local in both called and calling files
None of above
Which of the following method sends input to a script via a URL?
Get
Post
Both
None
Which of the following method is suitable when you need to send larger form submissions?
Both Get and Post
There is no direct way for larger form. You need to store them in a file and retrieve
Which of the following mode of fopen() function opens a file only for writing. If a file with that name does not exist, attempts to create anew file. If the file exist, place the file pointer at the end of the file after all other data.
W
W+
A
A+
The function setcookie( ) is used to
Enable or disable cookie support
Declare cookie variables
Store data in cookie variable
All of above
To work with remote files in PHP you need to enable
allow_url_fopen
allow_remote_files
both of above
fopen($file_doc,”r+&rdquo opens a file for
reading
writing
In mail($param2, $param2, $param3, $param4), the $param2 contains
The message
The recipient
The header
The subject
mysql_connect( ) does not take following parameter
database host
user ID
password
database name