Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9101707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T01:12:02+00:00 2026-06-17T01:12:02+00:00

Is there a compression library that has both PHP and JavaScript implementation, such that

  • 0

Is there a compression library that has both PHP and JavaScript implementation, such that I can compress/decompress from/to JavaScript/PHP interchangeably?
I know there are different options to compress data with PHP or JavaScript, the problem is that they store their output with different metadata. This means for example, that if some data is compressed into file output.bin using PHP, once I read output.bin using JavaScript (ajax) there is no way I can decompress that stream.

PS: I’m not looking for compression of HTTP requests, I have a bunch of compressed files (throught PHP) which I need to retrieve and decompress using JavaScript.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T01:12:03+00:00Added an answer on June 17, 2026 at 1:12 am

    I don’t know if something like node.js would fit into your scheme, but it provides fast zlib compression and decompression. php has zlib as well, so that would meet your requirements. If you need a zlib clone written entirely in Javascript, there are several out there that show up in a google search. However I don’t know if any are complete or correct.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a library in .net that does multithreaded compression of a stream? I'm
Possible Duplicate: Which compression method to use in PHP? It seems that PHP has
Are there any compression algorithms -- lossy or lossless -- that have been specifically
Is there any native compression (for javascript/css files) available in ASP.NET?
Are there any open-source compression/decomp libraries available for Ruby? Has anyone implemented LZW? Or,
I'm reading a file(a flash swf) from .Net 3.5 that has a header which
I'm working on a JavaScript collator/compositor implemented in Java. It works, but there has
I'm trying to compress HTML with JavaScript and decompress it with Ruby. Some carachters
I need a C++ library that can store and retrieve time series on demand
Which is the powerful JavaScript compressor than http://www.bananascript.com/ because bananascript compress mootools uncompressed library(138KB)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.