I want to get filename without any $_GET variable values from a url in php?
My url is http://learner.com/learningphp.php?lid=1348
I only want to retrieve the learningphp.php
from the url?
How to do this? Please help.
I used basename but it gives all the variable values also- learntolearn.php?lid=1348
which are in the url.