ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Scripts  >>  PHP
 
 


 

 
 PHP interview questions  PHP Interview Questions
 ASP interview questions  ASP Interview Questions
 CGI Perl interview questions  CGI Perl Interview Questions
 JavaScript interview questions  JavaScript Interview Questions
 VB Script interview questions  VB Script Interview Questions
 JSP interview questions  JSP Interview Questions
 Shell Script interview questions  Shell Script Interview Questions
 Python interview questions  Python Interview Questions
 Tcl interview questions  Tcl Interview Questions
 Awk interview questions  Awk Interview Questions
 AJAX interview questions  AJAX Interview Questions
 Ruby on Rails interview questions  Ruby on Rails Interview Questions
 Scripts AllOther interview questions  Scripts AllOther Interview Questions
Question
What is register_globals in php?
 Question Submitted By :: Subrat
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is register_globals in php?
Answer
# 1
The register_globals setting controls how you access form, 
server, and environment variables. By default this variable 
is set to Off, requiring you to use special arrays to 
access these variables.
 
Is This Answer Correct ?    1 Yes 0 No
Subrat
 
  Re: What is register_globals in php?
Answer
# 2
As same answer. By setting it on we can access the
environment variables using it's variable name
 
Is This Answer Correct ?    1 Yes 0 No
Jai
 
 
 
  Re: What is register_globals in php?
Answer
# 3
When on, register_globals will inject your scripts with all 
sorts of variables, like request variables from HTML forms. 
This coupled with the fact that PHP doesn't require 
variable initialization means writing insecure code is that 
much easier. It was a difficult decision, but the PHP 
community decided to disable this directive by default. 
When on, people use variables yet really don't know for 
sure where they come from and can only assume. Internal 
variables that are defined in the script itself get mixed 
up with request data sent by users and disabling 
register_globals changes this.
 
Is This Answer Correct ?    1 Yes 0 No
Imteyazhaider
[MIND]
 

 
 
 
Other PHP Interview Questions
 
  Question Asked @ Answers
 
How to Define a Constant in PHP? Is $ symbol necessary? Maples5
This question is regarding version control. If two developers are committing the same php file at same time what will happen ? What error it will show (if any) ? TCS1
What is mem_cache ? How do you put a database query into that ? NIIT1
What is the difference between InnoDb tables and MyIsam Tables in php  1
Is there a way to encrypt text from php?  4
What is happening in the following code $objA = new A(); // A is a class $objB = $objA; NIIT1
what are Implode and Explode functions?  2
what are the various PHP Script Optimization techniques? TCL1
coding for deleting items form data base on select  1
How can we know that a session is started or not? Rushmore-Consultancy3
Does it possible to compile php with mysql without having mysql sources?  1
How can we send mail using JavaScript?  5
What is the advantge and disadvantage of mysql_connet() and mysql_pconnect() ? in which condition will you use mysql_connect() and mysql_pconnect(). Avanigoradia2
How do you add a joomla Template in admin panel of joomla? Please mention the steps T3-Softwares3
what is the importence of session.save_path in Php.ini file and wht changes u've to made before using sesssions in ur php program first time?  4
What are the different types of errors in PHP?  3
I have 10 elements of Array, how can i remove 5 array element, with single function.  10
How can we upload a php + mysql Site  1
when ever the user logged in the database table the current registered date will be appeared  3
How many ways are there for passing variables between pages in PHP and what are they ?  8
 
For more PHP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com