joy Posted May 4, 2007 Share Posted May 4, 2007 Hi! I need some help with a piece of code that i've found in an article. what i'm trying to do is save images in a MySQL DB. I get an error message when i run the script: Fatal error: main() [function.require]: Failed opening required 'disclaimer' (include_path='c:\php\includes') in C:\Programme\Apache Software Foundation\Apache2.2\htdocs\imagedb\index.php on line 31 the regarding code line is: require 'disclaimer'; i don't know if i just have the wrong include-path setting in the php.ini or if i need some special extensions? is it possible that i need some PEAR extensions to run the skript? how can i find out which extensions/include files i need? i didn't post all of the code here because it's rather a lot. i can still do it, though, if it helps. i'm really stuck here. thanks! Link to comment https://forums.phpfreaks.com/topic/49958-require-disclaimer/ Share on other sites More sharing options...
taith Posted May 4, 2007 Share Posted May 4, 2007 require_once('disclaimer.php'); Link to comment https://forums.phpfreaks.com/topic/49958-require-disclaimer/#findComment-245242 Share on other sites More sharing options...
joy Posted May 4, 2007 Author Share Posted May 4, 2007 unfortunately there is no file called disclaimer.php, i thought it might be part of some extension i don't have? Link to comment https://forums.phpfreaks.com/topic/49958-require-disclaimer/#findComment-245416 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.