Miscellaneous

  Home arrow Miscellaneous arrow Page 3 - Working with MP3 ID3 Tags in FTP Serve...
MISCELLANEOUS

Working with MP3 ID3 Tags in FTP Server Using PHP
By: Codex-M
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 5
    2010-01-20

    Table of Contents:
  • Working with MP3 ID3 Tags in FTP Server Using PHP
  • Install the GetID3 () application in your web server
  • Uploading the folders
  • Getting Down to ID3 Tag Editing

  •  
     

    SEARCH CODEWALKERS

    TOOLS YOU CAN USE

    advertisement

    Working with MP3 ID3 Tags in FTP Server Using PHP - Uploading the folders


    (Page 3 of 4 )

    Step 5: Now, using your favorite FTP client, connect to your server and upload the “getid3” folder first. It should be located at the SAME directory level as your mp3 folder. For example, below is the CORRECT location/path of “getid3” folder in the ftp server where the mp3 folder is called “mp3forme”:

     

     

    Step 6: In the unzipped folder of getid3-1.7.9 in step 3, find the folder called “demos”. Click on it; you should see a number of files inside; for example, “demo.browse.php,” “index.php,” “demo.single.php,” “demo.write.php” and many others. You need to upload all of these files (NOT including the “demos” folder) and put them inside the mp3 folder of your FTP server. In our example this folder is called “mp3forme”.

    After uploading the files, they should now be mixed with your mp3 files, like the file list below:

    (Files now inside the mp3 folder)

    demo.audioinfo.class.php* demo.mp3header.php* songnumber1.mp3*

    demo.basic.php* demo.mysql.php* songnumber2.mp3*

    demo.browse.php* demo.simple.php* songnumber3.mp3*

    demo.cache.dbm.php* demo.simple.write.php* songnumber4.mp3*

    demo.cache.mysql.php* demo.write.php* songnumber5.mp3*

    demo.joinmp3.php* getid3.css*

    demo.mimeonly.php* index.php*

    The bolded files in blue font are the mp3 songs for which you need to edit the ID3 tag. The red fonts are all the files inside the “demos” folder.

    IMPORTANT: Before you upload these files, using your favorite PHP editor, open demo.browse.php and then find and delete this line:

    die('Due to a security issue, this demo has been disabled. It can be enabled by removing line '.__LINE__.' in demos/'.basename(__FILE__));

    and also in the file demo.write.php:

    die('Due to a security issue, this demo has been disabled. It can be

    enabled by removing line 16 in demos/demo.write.php');

    After doing this minor editing, save the two files, and then upload (read the guidance above about uploading).

    More Miscellaneous Articles
    More By Codex-M

    blog comments powered by Disqus

    MISCELLANEOUS ARTICLES

    - Oracle Database XE: Indexes and Sequences
    - Modifying Tables in Oracle Database XE
    - Oracle Database XE: Tables and Constraints
    - More on Oracle Databases and Datatypes
    - Oracle Database XE Datatypes: Datetime and L...
    - Oracle Database XE Datatypes: Character and ...
    - From Databases to Datatypes
    - Firefox 3.6.6 Released with Improved Plug-in...
    - Attention Bloggers: WordPress 3.0 Now Releas...
    - Reflection in PHP 5
    - Inheritance and Other Advanced OOP Features
    - Advanced OOP Features
    - Linux from Scratch V.6.6 Review
    - Linux Gaining in Strength
    - Install Slackware on Your Old PC


    © 2003-2012 by Developer Shed. All rights reserved. DS Cluster 11 - Follow our Sitemap