Kaliber
October 16th, 2002, 06:05
I get this error:
Warning: stat failed for scrollbars.jpg (errno=2 - No such file or directory) in /home/designer/public_html/fsize.php on line 11
www.designerchat.net/fsize.php
The code is..
<center><form action="<?PHP print $PHP_SELF; ?>" method="GET"><font size=1 face="Verdana">Directory to Check:<input type=text name="dir" value="<?php print $HTTP_GET_VARS[dir]; ?>"><br>
<input type=submit value="Check Files"><p><hr width=75%><br>
</form>
<?php
$dh = opendir($HTTP_GET_VARS[dir]);
while ($file = readdir($dh) ) {
print "Name: $img$file ";
if ( ! filesize($file) ) {
print "(??)<br>";
}
else {
print "(".filesize($file).")<br>";
}
}
closedir($dh);
?></font>
</center>
Warning: stat failed for scrollbars.jpg (errno=2 - No such file or directory) in /home/designer/public_html/fsize.php on line 11
www.designerchat.net/fsize.php
The code is..
<center><form action="<?PHP print $PHP_SELF; ?>" method="GET"><font size=1 face="Verdana">Directory to Check:<input type=text name="dir" value="<?php print $HTTP_GET_VARS[dir]; ?>"><br>
<input type=submit value="Check Files"><p><hr width=75%><br>
</form>
<?php
$dh = opendir($HTTP_GET_VARS[dir]);
while ($file = readdir($dh) ) {
print "Name: $img$file ";
if ( ! filesize($file) ) {
print "(??)<br>";
}
else {
print "(".filesize($file).")<br>";
}
}
closedir($dh);
?></font>
</center>