I've tried $filesize = filesize($path/$file); echo "$filesize<br />"; and echo "filesize($path/$file)<br />"; and it just displays the words filesize(./path/to/the/file.asp) where's the obvious bit I'm missing? -- Joel at Bizba6.com http://BizBa6.com/