Re: filesize() and mime_content_type()
| From: | Daniel Brown | Date: | Thu, 07 Jun 2007 16:55:47 +0000 |
| Subject: | Re: filesize() and mime_content_type() | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-256301@lists.php.net to get a copy of this message | ||
On 6/7/07, Daniel Brown <parasane@gmail.com> wrote:
On 6/7/07, Chris Boget <chris.boget@wild.net> wrote:Oh, I also forgot to ask.... what do you get when you use stat()? -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107basename() works, dirname() works, filetype() works... all functions seemingly similar enough to, at least in my mind, filesize() such that I would think that if filesize() is undefined then those other functions would be undefined too. thnx, ChrisWhat could go wrong with an installation on a Windows machine that uses the binaries? Why would it be only these functions (that I can tell) that would be missing? Is there somewhere I can go and check (possibly using phpinfo()) to find out if these functions should be available?Sounds like a problem with the installation.Have you uncommented or addedyour php.ini file for mime_content_type()? What about adding something like this, as well: [mime_magic] mime_magic.debug = On mime_magic.magicfile = "c:\php\extras\magic.mime"extension=php_mime_magic.dllinDo you have anything in the-- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107disable_functions =area of your php.ini?