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]));

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

Reply via email to