What is the $_ server php_self variable?



What is the $_ server php_self variable?..

Answer / Manmohan Ahuja

$_SERVER['PHP_SELF'] contains the name and path of the current PHP script. It does not include the domain name, script name, or any parameters passed to the script.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

What sized websites have you worked on in the past?

0 Answers  


What is a static method php?

1 Answers  


What are the array functions in php?

1 Answers  


Which MySQL function would you use to select a database?

1 Answers  


How will you sened requests from server1 to server2 from server2 to server3 and so on .. w/o letting the output come to the browser or say the client end in php

3 Answers   Swayam, TCS, Yahoo,


What is composer phar?

1 Answers  


What is the difference between $message and $$message?

2 Answers  


Which functions are used to count the total number of array elements in php?

1 Answers  


Is gender a dependent variable?

1 Answers  


What is isset and unset in php?

1 Answers  


why did u want to leave your past organisation?

1 Answers  


What are the advantages of stored procedures?

1 Answers  


Categories