let's say my filename is like http://www.xxx.com/abc.php Is the a way to display the filename on the page and without the file type? Like i'll be displaying the text like: Buy abc online I've searched everywhere but no luck .. i've several hundreds on page to be done so i dont think i can handcode them one by one ..
I've finally got it : <?php $rest = substr(getenv('SCRIPT_NAME'), 1, -4); echo $rest;?> i feel good as im a php noob. I combined a few examples out there