Re: filesize() and mime_content_type()
| From: | Daniel Brown | Date: | Thu, 07 Jun 2007 16:54:32 +0000 |
| Subject: | Re: filesize() and mime_content_type() | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-256300@lists.php.net to get a copy of this message | ||
On 6/7/07, Chris Boget <chris.boget@wild.net> wrote:
Have you uncommented or addedWhat 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? basename() 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, ChrisSounds like a problem with the installation.
extension=php_mime_magic.dll in
your 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"
Do you have anything in the disable_functions = area of your php.ini?
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107