Hi, PHP 4.3.8, Apache 1.3.31, Debian/GNU Linux
Is anybody using PECL extensions ? I want to let people upload data to a site I'm building and want to avoid using mime_content_type because from the manual :- "This extension has been deprecated as the PECL extension fileinfo provides the same functionality (and more) in a much cleaner way." After much messing about I eventually managed to work out how to install the package :- download Fileinfo from pecl.php.net pear install ./Fileinfo I had to install the magic library, libtools etc. before this would work. My question now is, how do I call the fileinfo function and where do I find any sensible documentation on it and what does it return ? Currently, I'm downloading and installing the XML2 libs so I can install php5 to see if it works any better :-( This has to be the worst experience I have had with PHP, there just seems to be no documentation on PECL aimed at an end user. Regards, Dave php/2004-08-30.tx php-general +----------------------------------------------------------------------------+ | Dave Restall, IIRC Limited, PO Box 46, Skelton, Cleveland, TS12 2GT. | | Tel. 0845 10 80 151 Mob. +44 (0) 7973 831245 Int. +44 (0) 1287 653003 | | email : [EMAIL PROTECTED] [EMAIL PROTECTED] Web : http://www.iirc.net | +----------------------------------------------------------------------------+ | When you dig another out of trouble, you've got a place to bury your own. | +----------------------------------------------------------------------------+ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php