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
Started on the old forum in February 2012 · view the original in the archive · old links redirect here
errrrrr why 10kb?
$filename = 'somefile.txt';
$filesize = filesize($filename);
if($filesize>1280)
{
echo $filename . ': ' . $filesize;
}
something else wrote: errrrrr why 10kb?
$filename = 'somefile.txt'; $filesize = filesize($filename); if($filesize>1280) { echo $filename . ': ' . $filesize; }
I think this will work if you increase the filesize
http://myfacepals.com MYFACEPALS SOCIAL NETWORKExternal image (may be gone)
makvanpor2000 wrote: I think this will work if you increase the filesize
lol, are you weighing potatos? 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