1 min readMar 9, 2019
Try printing $_SERVER[“SCRIPT_NAME”] to see the directory you’re in. In my example, I made a directory called “php-template” (and, you’re probably not using the same one!).
Try printing $_SERVER[“SCRIPT_NAME”] to see the directory you’re in. In my example, I made a directory called “php-template” (and, you’re probably not using the same one!).