I want to remove .php
from the link in form's action attribute.
the link is:
localhost/shopproject/MassUpload/create_excel.php/createExcel
.
I've tried using .htaccess
from other questions, but I find only the way to remove .php at the very end of the link e.g
localhost/shopproject/MassUpload/create_excel.php/createExcel.php
to
localhost/shopproject/MassUpload/create_excel.php/createExcel
.
I wonder how can I make the link to:
localhost/shopproject/MassUpload/create_excel/createExcel
If it isn't possible is there a better way so that I can hide the usage of create_excel.php
from a user?
Thank you for the help