PHP directory/file functions problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
acpi
Forum Newbie
Posts: 1
Joined: Tue Feb 03, 2004 12:24 pm

PHP directory/file functions problem

Post by acpi »

Hi,
I have a strange problem with some PHP directory functions.
When I call the function filetype() it recognizes evritink as directory, whether directory, file or something else. The functions filesize() and is_dir() don't function properly too. I've tested these functions under Windows 98 and Linux(Apache 1.3.27, PHP 4.2.3, MySQL 3.23.56). I doubt this to be a bug, maybe I've done something wrong in the configuration?
Any help will be appreciated.
User avatar
AVATAr
Forum Regular
Posts: 524
Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:

Post by AVATAr »

show us your code
Post Reply