I have a folder called users. Users contains this:
*username*/index.php
member.php
*username* is the username of someone who has signed up. There are several *username* folders and they all contain index.php.
Since index.php in *username*/ is past member.php, how do I include member.php in index.php without using the whole URL? I already tried users/member.php and /users/member.php, but it says the directory doesn't exist. I can't use the whole URL, because it messes up my PHP. How do I include member.php without using the whole URL?
10 points for the best working answer. Thanks for the help!
*username*/index.php
member.php
*username* is the username of someone who has signed up. There are several *username* folders and they all contain index.php.
Since index.php in *username*/ is past member.php, how do I include member.php in index.php without using the whole URL? I already tried users/member.php and /users/member.php, but it says the directory doesn't exist. I can't use the whole URL, because it messes up my PHP. How do I include member.php without using the whole URL?
10 points for the best working answer. Thanks for the help!