Kyle Goetz wrote: > hey so i've been struggling with an apparent bug in and older version of > PHP but i wouldn't know where to look about this bug, as it concerns the > include function and there is no mention of a bug that i can find... > > version of php: 4.1.0 > i have a line of code > include 'new_album.php'; > i keep getting a file not found error > i KNOW the file is there > i copy the code to a new file, and save it as 123.php and then change > the line of code to > include '123.php'; > and voile! it works! > it seems there is something wrong with using the name 'new_album.php' > with include but i dunno why... > > anyone got any input on this? i don't wanna have to worry about > filenames making errors...
i assume you use linux? if so check if the file, the directory and all parent directories have at least read rights for the user your webserver is running under and the directories must have the execute bit set. -- Michael Kunze http://www.smrealms.de/ JABBA - EOL: End Of Lecture -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php