Simply put, how do I specify an absolute filesystem path using the require_once keyword in PHP? The code will be run in CLI, not on a webpage. What is the root file path? I am running Windows, FYI.
Thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
On windows, it’s the backslash notation, also you have to escape them if you are using double quotes.