> Curtis Maurand <curtis@xxxxxxxxxxx> 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@xxxxxxxxxx Softwaretechnik Behnke Heinrich-Heine-Str. 7D 21218 Seevetal http://www.behnke.biz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php