filetype() and exec() issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This question is a two parter....

a) anyone else noticing filetype() failing on ISO image files?

Warning: filetype(): Lstat failed for /var/lib/samba/some/file.iso

b) I have a script that during processing will eventually call

  exec('/usr/bin/file -bi '.$file)

over 1000 times, I've added a counter and when it dies on this line it's
always after 1020 exec calls, regardless of the file name I'm feeding to
`file`.  I've reproduced this with both exec, shell_exec, system and the
backticks.  What am I missing here?

My System:
Linux carbon 2.6.18-gentoo-r3
PHP 5.2.1-pl3-gentoo (cli) (built: Apr 19 2007 00:42:03)
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

/djb

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux