colfaxrev
10-27-2006, 09:20 PM
look at this link
http://triotalentagency.com/newsite/tracking.php?action=show
in flash when im trying to make a preloader, the final size is undefined, because its not done making the data i guess.
anyway, i wanted to make a separate php file that simply got the final file size. so that I could use it for the preloader.
This size will be changing from time to time, so i need it to be dynamic..
i tried some silly stuff like...
print "filesize[" . filesize("tracking.php?action=show") . "]";
//and
print "filesize[" . filesize(readfile("tracking.php?action=show")) . "]";
both printed this...
filesize[]
does anyone know a way to do this?
http://triotalentagency.com/newsite/tracking.php?action=show
in flash when im trying to make a preloader, the final size is undefined, because its not done making the data i guess.
anyway, i wanted to make a separate php file that simply got the final file size. so that I could use it for the preloader.
This size will be changing from time to time, so i need it to be dynamic..
i tried some silly stuff like...
print "filesize[" . filesize("tracking.php?action=show") . "]";
//and
print "filesize[" . filesize(readfile("tracking.php?action=show")) . "]";
both printed this...
filesize[]
does anyone know a way to do this?