Posted by bschultz (bschultz), 24 February 2003I'm getting the following error message on a script.
Warning: main(testphp) [function.main]: failed to create stream: No such file or directory in c:\program files\apache group\apache\htdocs\sports\softball\statstest.php on line 17
Fatal error: main() [function.main]: Failed opening required 'testphp' (include_path='.;c:\php4\pear') in c:\program files\apache group\apache\htdocs\sports\softball\statstest.php on line 17
Here's the code:
Here is code for stats.php:
Posted by admin (Graham Ellis), 25 February 2003Is the first file called "statstest.php" and have you supplied a sample starting at line 17?
I think that
Note the extra quotes. The "." without the quotes is a string concatanation operator, thius making up a file name testphp (note no . in the name) which couldn't be found ....
Posted by bschultz (bschultz), 25 February 2003That was it, Thanks Graham.
Thanks! Thought it had to be something simple.
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: firstname.lastname@example.org • WEB: http://www.wellho.net • SKYPE: wellho