View Single Post
  #3 (permalink)  
Old 10-11-04, 03:34 AM
Bobbi Bobbi is offline
Newbie Coder
 
Join Date: Sep 2004
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
You will run into issues with your way of programming this if the directory you're talking about isn't the current directory ... $file will only contain the file/path, not the FULL path to the file/dir you're checking - use something like this instead:

PHP Code:

if (is_dir($srce "/" $file)) 

Enjoy,
__________________
Bobbi - Next-Gen ITsolutions
http://www.ngemu.com - http://www.ngits.de
Reply With Quote