[thelist] displaying file size in PHP

Joel Canfield joel at bizba6.com
Mon Oct 5 15:37:27 CDT 2009


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/



More information about the thelist mailing list