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 smarty?
What are global variables in php?
Is wordpress a php framework?
What kind of things have you done on the social side?
What is the use of the function 'imagetypes()'?
What is api used for?
What is meant by ‘passing the variable by value and reference' in php?
What are the benefits of using php and mysql?
Where is the submitted form data stored?
What is htmlentities function in php?
Can a trait extend a class php?
What is input sanitization in php?
How to create a session? How to remove data from a session?
What is die in php?
How to increase the maximum execution time of a script in php?