PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
phpcoder
Forum Contributor
Posts: 158 Joined: Sat Nov 02, 2002 1:18 pm
Location: Manchester, UK
Post
by phpcoder » Sat Jul 31, 2004 9:50 am
Hi,
I have some prob . m developing file manager that displays file attributes i have some prob in getting the file type plz help me .
i tried to use
mime_content_type($file);
but i got error call to undefine func...
markl999
DevNet Resident
Posts: 1972 Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)
Post
by markl999 » Sat Jul 31, 2004 9:52 am
mime_content_type
(PHP 4 >= 4.3.0, PHP 5)
Are you using PHP >= 4.3.0 or PHP 5 ?
phpcoder
Forum Contributor
Posts: 158 Joined: Sat Nov 02, 2002 1:18 pm
Location: Manchester, UK
Post
by phpcoder » Sat Jul 31, 2004 9:55 am
markl999 wrote:
mime_content_type
(PHP 4 >= 4.3.0, PHP 5)
Are you using PHP >= 4.3.0 or PHP 5 ?
m using php 4.2.2
markl999
DevNet Resident
Posts: 1972 Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)
Post
by markl999 » Sat Jul 31, 2004 9:58 am
4.2.2 is over 2 years old now. Can't you upgrade to the latest stable version or bug your host to do so?
phpcoder
Forum Contributor
Posts: 158 Joined: Sat Nov 02, 2002 1:18 pm
Location: Manchester, UK
Post
by phpcoder » Sat Jul 31, 2004 10:00 am
markl999 wrote: 4.2.2 is over 2 years old now. Can't you upgrade to the latest stable version or bug your host to do so?
ok
from where i can get php rpm 4.5
markl999
DevNet Resident
Posts: 1972 Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)
Post
by markl999 » Sat Jul 31, 2004 10:03 am