rubing Posted September 4, 2008 Share Posted September 4, 2008 I have a php script running in a public directory: /home/ted/public_html/myphpsript.php This script includes a separate php script in a non-public directoy: require_once '/home/ted/lib/merge_mp3.inc'; When I run myphpscript.php I get the following error: Warning: file_get_contents(/home/ted/public_html/CaddleWORK.mp3) [function.file-get-contents]: failed to open stream: No such file or directory in /home/ted/lib/merge_mp3.inc on line 12 It seems this script is considering /home/public_html/CaddleWORK.mp3 as a relative URL. How can I change that??? Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted September 4, 2008 Share Posted September 4, 2008 Is the capitalization of CaddleWORK.mp3 correct and what folder is it in? Quote Link to comment Share on other sites More sharing options...
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.