How can I get the only name of the current executing file?
Answer Posted / vaishali
basename($_SERVER('PHP_SELF'));
give the current file name
Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is $_ request?
What is php resource type?
Which of the data type is compound datatype supported by PHP?
How long will it take to learn php?
What the difference between the 'bitwise and' operator and the 'logical and' operator?
Do you know how to declare an array in php?
How to create an array from php string?
What is php key?
Explain me difference between mysql_connect and mysql_pconnect?
How to enable cURL in PHP?
What is ci in php?
How to return ascii value of character in php?
Write a program to upload a file in php?
How can I increase my website session?
Who is known as the father of php?