hello friends i want a code that if the file less than 10 kb then show nothing and if file more than 10 kb show somthing like its size = +10 kb
Experts help me in code
Collapse
X
-
I think this will work if you increase the filesizeOriginally posted by something else View Posterrrrrr why 10kb?
PHP Code:$filename = 'somefile.txt'; $filesize = filesize($filename); if($filesize>1280) { echo $filename . ': ' . $filesize; }http://myfacepals.com
MYFACEPALS SOCIAL NETWORKsigpic
Comment
-
lol, are you weighing potatos?Originally posted by makvanpor2000 View PostI think this will work if you increase the filesize
This'll work perfectly,cuz the function filesize() returns the size of a file in bytes
I need some facebook likes, can you please help me
http://facebook.com/softwarefreakin
I noticed social media is really powerful
Well DONE is better than well SAID
Comment

Comment