+ 2
PHP file Location
Ok, This is a silly one. Where should I save my php files? I mean there is a localhost directory - should I save the files there and if so - should I make a new folder for each project? Or I can store the files like is any folder I like? Thank you for your help.
4 Answers
+ 3
If you store the files for practice (you don't share the website to anyone) then you can save them wherever you want.
If your website can be accessed by anyone then you should store them in a folder that people cannot ever access.
+ 3
You can but only when youre testing. You cannot when you share the website with other people. (you host it)
+ 2
InxaneNinja thanks!
+ 1
InxaneNinja so i must not save the files in localhost folder?