Jump to content

ID3 Tags and File Uploads


geudrik

Recommended Posts

I'm looking for ideas thoughts that anyone might have regarding disappearing ID3 tags in .mp3 files after they are uploaded to a web server via $_FILES method.

 

In order, the steps occur at time of upload are:

1) File upload is initiated

2) File is uploaded to temp dir on server

3) File is re-assigned a hash value for a file name, with .mp3 appended

4) File is moved from temp dir to the given users dir

5) Meta Data is supposed to be read, and a row inserted into the DB.

 

Now, everything works as intended - not having any issues... Other than, of course, the mystery of the vanishing ID3 tags. :P  Can anyone shed some light on this?

 

I am 100% certain that I can read the meta data - giving two different parameters on two different files (one uploaded manually via sftp, the other via http through the use of $_FILES)

 

Example of what's happening: http://69.164.222.60/test2.php

 

nji.mp3 was uploaded via SFTP.  The hashed .mp3 was uploaded via my web form. 

 

Thoughts / Comments / Suggestions / Ideas / Saving Grace?  ^^

Link to comment
Share on other sites

As an update...

 

the N/A is added into the array with my script because it's reading the ID3 info as null. 

I downloaded the file to my local machine, and all meta data shows up (in varying players, as well as in simply the folder view)

 

:wtf::confused::shrug::confused::wtf::confused::shrug::confused:  :wtf:

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.