PHP Classes
Icontem

File: example.php


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Lorenzo Simionato  >  FLAC Tags  >  example.php  
File: example.php
Role: Example script
Content type: text/plain
Description: Simple usage example
Class: FLAC Tags
Retrieve metadata from FLAC audio files
 

Contents

Class file image Download
<?php
include("flacTags.php");

$ftag=new flacTags("Syrinx.flac");

if(
$ftag->readTags()==false) {
  echo 
"ERROR:";
  echo 
$ftag->getError();
}
else {
  echo 
"Vendor String: ";
  echo 
$ftag->getVendorString();

  echo 
"<br><br>Title: ";
  echo 
$ftag->getComment("TITLE");

  echo 
"<br><br>All information:<br><br>";
  
$infos=$ftag->getAllComments();
  
print_r($infos);
}

?>

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products