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: 19 years ago
Size: 539 bytes
 

Contents

Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <title>SWF header info</title>
</head>
<body>
<? 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() ;
?>
</body>
</html>