Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

incomplete info when uploading files mime 1

Status
Not open for further replies.

richardko

Programmer
Jun 20, 2006
127
US
Hi,
When I am uploading an mp3 file the $_FILES info is not complete. For example the mime info for the mp3 file is:

[uploadFile] => Array
(
[name] => 43 Play That Funky Music.mp3
[type] =>
[tmp_name] =>
[error] => 1
[size] => 0
)


where as for a text file it is:

[uploadFile] => Array
(
[name] => 2007-03-08.csv
[type] => text/csv
[tmp_name] => /tmp/phpWRWUHb
[error] => 0
[size] => 628
)

Any idea on how to display the mime info plus the tmpname for the mp3 file?
thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top