Page 1 of 1

Filesize

Posted: Tue Nov 02, 2004 11:30 am
by Shendemiar
Not a real question, i'm just beeing lazy. (Scale your efforts considering
that)

Does anybody have a ready function to return size of any given file? (Path given as paremeter)

Posted: Tue Nov 02, 2004 11:32 am
by rehfeld
yes you are lazy

rtfm! (im just joking)

http://php.net/filesize

Posted: Tue Nov 02, 2004 11:39 am
by Shendemiar
rehfeld wrote:yes you are lazy

rtfm! (im just joking)

http://php.net/filesize
Heh... damn... :D

Posted: Tue Nov 02, 2004 11:47 am
by rehfeld
hey bud let me share a little gem i found on the net somewhere

its a bookmarklet that helps you search php.net

you just click the bookmark, and a javascript opo-up box will appear, and then just type in what your searching for, and php.net will return your results. it saves major time


make a bookmark, and use the following as the location

Code: Select all

javascript:q=document.getSelection();if(!q)void(q=prompt('PHP Reference:',''));if(q)location.href='http://www.php.net/'+escape(q)

Posted: Tue Nov 02, 2004 2:37 pm
by Shendemiar
Exelcent!

How can is do file_exist and filesize over the net?

Posted: Tue Nov 02, 2004 2:49 pm
by Shendemiar
http://www.vihti.fi/lomake/asu_rake/suu ... käsitt.pdf

Can the problem be the special char ä ?

What kind of people put names like that on the net anyway?