Re: filesize question
| From: | marco@behnke.biz | Date: | Tue, 07 May 2013 13:29:12 +0000 |
| Subject: | Re: filesize question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-321023@lists.php.net to get a copy of this message | ||
> Curtis Maurand <curtis@maurand.com> hat am 7. Mai 2013 um 15:16 geschrieben:
>
>
> Hello,
> I'm feeding a filename to a php script on the command line (command line
> program). I run the following against it:
>
> $inputline = fread($inputfile, filesize($argv[1]));
mayve
$inputline = fread($inputfile, filesize($inputfile));
>
> I'm getting an error complaining that the second parameter can't be '0'
>
> any ideas?
>
> thanks,
> Curtis
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: marco@behnke.biz
Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal
http://www.behnke.biz