Here's a weird one..
PHP appears that it can read file types and sizez just fine if you're readin the files in the same directory the script is in.. but if you're running the script in one folder, and reading files in another folder it doesn't work.
I run the script in one folder, and try to get file data for a file in another folder and it won't work. it will display the file name, but all of the following functions i have tried don't do anything at all (not even report the file as unknown): is_file, file_exists, is_readable, filetype, filesize, lstat etc..
any idea's? why would this be?
it's php4.0 runnin on linux, any help would be GREATLY appreciated
PHP appears that it can read file types and sizez just fine if you're readin the files in the same directory the script is in.. but if you're running the script in one folder, and reading files in another folder it doesn't work.
I run the script in one folder, and try to get file data for a file in another folder and it won't work. it will display the file name, but all of the following functions i have tried don't do anything at all (not even report the file as unknown): is_file, file_exists, is_readable, filetype, filesize, lstat etc..
any idea's? why would this be?
it's php4.0 runnin on linux, any help would be GREATLY appreciated