You are using a browser which is not compatible with CSS (for more information, see Tara's tutorial). Because of this, it is possible that our website may not appear correctly in your browser. We apologise for the inconvenience, and recommend you upgrade your browser to one which is compatible with CSS. For more information, please visit our Browser Upgrade page.

4WebHelp

Frequently Asked Questions

Home Suggest a Question

Frequently Asked Questions » Freedom2Surf Specific
Website » How much disk space have I used?
This feature in Freedom2Surf Member's Area does not always work. You'll have to judge it yourself!

Added by mattryan: Use the following Perl code to display the amount of disk space used:

#!/usr/bin/perl

print "Content-type: text/html\n\n";
print "Used: ", &diskspaceused, " KB\n";

sub diskspaceused {
use File::Find;
my ($size) = 0;

&find(sub { $size += -s }, "/web/sites/nnn/username/www.yoursite.f2s.com");
return int ($size / 1024);
}
This page is © Copyright 2002-2024, 4WebHelp. It may not be reproduced without 4WebHelp's prior permission.