Tuesday, 4 September 2012

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

A. phptutor
B. phptutor/index.php
C. index.php
D. /index.php

Ans: C


No comments: