Re: filesize() and mime_content_type()

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

 



On 6/7/07, Chris Boget <chris.boget@xxxxxxxx> wrote:
>> Sounds like a problem with the installation.
> What 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,
Chris



   Have you uncommented or added `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

--
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