PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of Carlos Falo Hervás  >  SWF header parser  >  test.php  >  Download  
File: test.php
Role: Example script
Content type: text/plain
Description: Test script
Class: SWF header parser
Parse header of Flash files to extract metadata
Author: By
Last change: Added extended comments in the file
Date: 17 years ago
Size: 539 bytes


Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <title>SWF header info</title>
<? require ("swfheader.class.php") ;?>
// Create a new SWF header object with debug info, open with
// disabled debug (false) for silent processing
$swf = new swfheader(true) ;
// Open the swf file...
// Replace filename accordingly to your test environment...
$swf->loadswf("test.swf") ;
// Show data as a block... you can also access data within the object
$swf->show() ;

For more information send a message to info at phpclasses dot org.