+ 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.

13th Nov 2018, 11:16 PM
pap
pap - avatar
4 Antworten
+ 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.
19th Nov 2018, 8:51 PM
inxanedev!
inxanedev! - avatar
+ 3
You can but only when youre testing. You cannot when you share the website with other people. (you host it)
19th Nov 2018, 10:24 PM
inxanedev!
inxanedev! - avatar
+ 2
InxaneNinja thanks!
19th Nov 2018, 10:25 PM
pap
pap - avatar
+ 1
InxaneNinja so i must not save the files in localhost folder?
19th Nov 2018, 10:11 PM
pap
pap - avatar