![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| Pear Pear programming, this is a very complex subject as with using pear with php can be a difficult task for some, so lets talk pear. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| Hi, i have a problem with File_Archive, it adds duplicate file into generated archive file when using a folder as source path. (it only happens if source folder has sub folders) i uses below code to convert a folder to File_Archive::setOption("gzCompressionLevel", 9); File_Archive::setOption("tmpDirectory", Cache_Folder_Path); File_Archive::extract( File_Archive::read($destPath), File_Archive::toArchive("GL2.tar.gz", File_Archive::toFiles(Cache_Folder_Path)) ); if event tried this option but nothing changed. File_Archive::setOption("appendRemoveDuplicates", tue); is it a bug? would u please tell me how can i solve it? -- Best Regards - Sina Salek : SINA.SALEK.WS | |||
| | #2 | ||
| Seyyed Sina Salek wrote: > Hi, i have a problem with File_Archive, it adds duplicate file into > generated archive file when > using a folder as source path. (it only happens if source folder has sub > folders) > i uses below code to convert a folder to > > File_Archive::setOption("gzCompressionLevel", 9); > File_Archive::setOption("tmpDirectory", Cache_Folder_Path); > > File_Archive::extract( > File_Archive::read($destPath), > File_Archive::toArchive("GL2.tar.gz", > File_Archive::toFiles(Cache_Folder_Path)) > ); > > if event tried this option but nothing changed. > File_Archive::setOption("appendRemoveDuplicates", tue); > > is it a bug? > would u please tell me how can i solve it? http://pear.php.net/bugs/bug.php?id=6546 If this patch works for you, please email Pablo Fischer and let him know! -- David Sanders shangxiao | |||
| Featured Websites | ||||
|
![]() |
| Tags: adds, compressed, duplicate, file, files, file_archive, pear |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [PEAR] File_Archive add duplicate files in compressed file!! | Ernest Clever Man | Pear | 0 | 05-20-2007 6:34 PM |
| [PEAR] pear upgrade | Lorenzo Alberton | Pear | 1 | 05-20-2007 6:34 PM |
| [PEAR] How to document folders and other file types with phpDocumentor | Chuck Burgess | Pear | 0 | 05-20-2007 6:34 PM |
| Duplicate Content | Stickster | Search Engine Optimization | 5 | 07-31-2006 1:55 AM |
| Featured Websites | ||||
|