Re: directory listing and how to determine file size
| From: | phobo | Date: | Mon, 19 Feb 2001 14:33:24 +0000 |
| Subject: | Re: directory listing and how to determine file size | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-5634@lists.php.net to get a copy of this message | ||
You should wander though php.net for 5 mins, then you wouldnt have to wait
for our replies...
> 1. how to determine file size _before_ file uploading or on loading
> time and how to avoid error message if file size will be too large.
read http://www.php.net/manual/en/features.file-upload.php
basically, a variable wil be returned with the size in bytes:
$HTTP_POST_FILES['userfilename']['size'] = ....
> 2. how to read directory content with it's size, modes etc in win32
> and linux.
http://www.php.net/manual/en/ref.dir.php
http://www.php.net/manual/en/ref.filesystem.php
> 3. in what mode i should make directory for read/write permission
> (not execute). Any point to docs?
directories which store the files should be read/list only; PHP, not the
webclient, is writing the files.
> 4. Any other useful points to my project? I don't know all problems
> for it.
>
> TIA,
> --
> Andris
> mailto:ajandris@parks.lv
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>