Priti's Technical Corner

April 16, 2011

PHP Quiz

Filed under: PHP, Technical Quiz — Tags: , , — pritisolanki @ 10:02 am

5 question to test your skills:

Q1. Which is the php variable containing the text of the last error message generated by PHP.

A1.$php_errormsg

Q2.The order of variables listed in $_REQUEST array is defined according to which PHP Directive.

A2.request_order

Q3.Which PHP constant indicate the filename of the currently executing script.

A3.$_SERVER[‘PHP_SELF’]

Q4.Which superglobal array contains the items uploaded to the current script via HTTP POST.

A4.$_FILE

Q5. $http_response_header is a valid super global in PHP?

A5.Yes

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: