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 Quote
Krydos Posted November 16, 2011 Posted November 16, 2011 Have you tried require('php/check_login.php'); without the leading slash? Quote
Byron Posted November 17, 2011 Posted November 17, 2011 You could also try: require("/home/jkblitz/public_html/php/check_login.php") Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.