Hi,
I have a requirement of not showing php file in the url. like
Example:
If url is http://www.xyz.com/home/Home.php
the same should be accessed like
http://www.xyz.com/home/
How can we acheive this in PHP.
Basically, you can't.
In the end, the webserver has to know which script to process, so unless you're looking at implementing some rewrite rules in the webserver and/or a request routing system, then you're out of luck.
Speaking of rewrite rules...
RewriteEngine On RewriteRule ^/home/?$ /home/Home.php
but you'd have to use a rule for every single page, which would get real old real fast on the maintainence front