Folder organization -
so taking web development class , in of classes they’ve been teaching keep our files separate. instance, have public folder , includes folder. in includes folder have database information , functions. here issue is: trying post site in godaddy , when try set tech support told me should place files in public folder. true? thought need place includes(private) folder in place; if so, should storing it?
godaddy may not best source of advice. when ssh account (or use file manager) should see login dir iirc have www or html dir (and both, 1 symlinked other). public webroot/docroot locations. make dirtree of own sibling www/html dir , use include tree.
when need absolute path directory tree in order know grab includes, can godaddy admin interface - https://support.godaddy.com/help/article/58/finding-your-hosting-accounts-absolute-path
Comments
Post a Comment