Apache
How to Get Current URL in PHP
0Recently needed to get URL of the page I was on. Here is the code to get that> It works fine for Apache on Linux. Have not tested it for IIS or Apache on windows.
Do you enjoy this blog? Do you find the information helpful? Then go ahead and treat me to a coffee or send me a tip! I love Barista's Cappuccino Cookie n Cream . Choose any amount you wish, whatever you feel this blog is worth to you.Disable/ Enable Directory Browsing on Apache
0By default Apache allows directory browsing but unless it is needed for your application to work, you should disable it.
You can disable it by either using .htaccess or editing the configuration file of your web server.
Disable directory browsing using .htaccess:
