I am trying to fully understand what is happening with pset7 and I had some general questions.
- How does
login_form.php
(in views) know where (or send the information to)login.php
is (under/public/js
). What if i had multiple files calledlogin.php
. ../
means go to parent directory of current directory right.register.php
is in JS directory who’s parent is public? Doesn’t it need to go to public’s parent directory to then go into includes. But right now,register.php
is (require("../includes/config.php"
);- After watching a few videos, it seems that a configuration file
allows users to change/manipulate variables without using a source
file. So it makes it easier for users. So why is
config.php
a configuration file?
Thanks!