I am new to the forum and I just installed xampp on my PC.
Xamp is installed in E:\xamp\xampp
Now the issue.
If for example I put a php script in htdocs like E:\xamp\xampp\htdocs\index.php and go on it and run it in the browser like double clicking, the script will not run and the address that I will get in the browser is file:///E:/xamp/xampp/htdocs/index.php .
If I go in the browser and I type http://localhost/index.php and press enter then it works.
So what I would like to know is if there is any way so that I can double click on a script or file and for it to automatically use the localhost pathway.
Thank you very much,