I’m using xampp…I’m new to php, I’m watching video tutorials in coding and every time I code, I need to name it as index and save it in htdocs before I run. My question is, is it possible to run my code without naming it as index? Like the idea in common frameworks.
URL = localhost/anything.php if in root
URL = localhost/folder_name if index.php in the folder
URL = localhost/folder_name/anything.php if you want the file anything.php within the folder_name