PHP Classes

gzuncompress and wordpress

Recommend this page to a friend!

      SWF header parser  >  All threads  >  gzuncompress and wordpress  >  (Un) Subscribe thread alerts  
Subject:gzuncompress and wordpress
Summary:code breaks at the gzuncompress
Author:Joey Padasian
Date:2013-08-01 19:06:17

  1. gzuncompress and wordpress   Reply   Report abuse  
Picture of Joey Padasian Joey Padasian - 2013-08-01 19:06:17

I'm trying to implement this into a wordpress website. However the code breaks when it is being called within a wordpress template.

It manages to get the Version and File Size info, but fails at getting the RECT data.

DEBUG: Data values initialized
DEBUG: Opened http://localhost:8888/previewer/wp-content/uploads/2013/08/test.swf
DEBUG: Read MAGIC signature: CWS
DEBUG: Partial SIZE read: 177
DEBUG: Partial SIZE read: 2560
DEBUG: Partial SIZE read: 65536
DEBUG: Partial SIZE read: 0
DEBUG: Total SIZE: 68273
We need to uncompress this
This didn't uncompress
DEBUG: RECT field size: 0 bits
DEBUG: RECT binary value: (0)
DEBUG: RECT binary value: (0)
DEBUG: RECT binary value: (0)
DEBUG: RECT binary value: (0)
DEBUG: Frame rate: 0.0
DEBUG: Frames: 0
DEBUG: Finished processing http://localhost:8888/previewer/wp-content/uploads/2013/08/test.swf

Do you have any idea why it would do this? Or is there a work around to gzuncompress?

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