Tuesday, 4 September 2012

Assume that your php file 'index.php' in location c:/apache/htdocs/phptutor/index.php. If you used $_SERVER['PHP_SELF'] function in your page, then what is the return value of this function ? | PHP

A. phptutor/index.php
B. /phptutor/index.php
C. c:/apache/htdocs/phptutor/index.php
D. index.php

Ans: B

No comments: