jkblitz Posted November 16, 2011 Posted November 16, 2011 Please help, when i try using include() or require(), i get the following errors Warning: require(/php/check_login.php) [function.require]: failed to open stream: No such file or directory in /home/jkblitz/public_html/test/index.php on line 27 Fatal error: require() [function.require]: Failed opening required '/php/check_login.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/jkblitz/public_html/www') in /home/jkblitz/public_html/test/index.php on line 27 The path in the require tag, is definitely correct, so it could be the include_path php.ini value,or something else Cheers James
Krydos Posted November 16, 2011 Posted November 16, 2011 Have you tried require('php/check_login.php'); without the leading slash?
Byron Posted November 17, 2011 Posted November 17, 2011 You could also try: require("/home/jkblitz/public_html/php/check_login.php")
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now