Jump to content

[SOLVED] Parse Error - createZip Class


tarun

Recommended Posts

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/www/tpatelphp.awardspace.com/custom/createZip.inc.php on line 11

 

01. <?php
02. 
03. /**
04. * Class to dynamically create a zip file (archive)
05.  *
06.  * @author Rochak Chauhan
07.  */
08.
09. class createZip {  
10.
11.	public $compressedData = array(); 
12.	public $centralDirectory = array(); // central directory   
13.	public $endOfCentralDirectory = "\x50\x4b\x05\x06\x00\x00\x00\x00"; //end of Central directory record
14.	public $oldOffset = 0;
15.

 

 

Can't Figure Out The Problem With It

If This Helps Its From The PHP createZip Class

Link to comment
https://forums.phpfreaks.com/topic/54112-solved-parse-error-createzip-class/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.