473,411 Members | 2,009 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

Creating a zip file for download

I am using PHP to provide a dynamic web application. I want to create a zip file to enable users to download the data for local processing offline in Excel or Open Office.
The PHP manual talks about a class "ZipArchive" but my server scripts do not recognise such a class if I try and create a new object.

The server I am using is running PHP 4.4.2, which, being a cheapskate, is good enough for everything else I need.

The PHP manual is confusing, for me, about this functionality. Any resaerch direction starters would be very helpful.
Jul 26 '07 #1
6 1455
pbmods
5,821 Expert 4TB
Heya, Ken.

Unfortunately, your options are somewhat limited if you are using PHP 4.

If your system is hosted on a *n?x platform, you can use exec() to call the zip tool.
Jul 26 '07 #2
kovik
1,044 Expert 1GB
You should inform them of the GoPHP5 movement.
Jul 27 '07 #3
tbi
2
thanks for information to me
Aug 23 '07 #4
tbi
2
i have some problem with this information?????
Aug 23 '07 #5
Atli
5,058 Expert 4TB
i have some problem with this information?????
What problem is that?
Aug 23 '07 #6
pbmods
5,821 Expert 4TB
Yeah. I have problems with information, too. Ignorance is so much more fun!

Wheeeeeeeeeeee oh wait. Rent is due. Well, back to the coal mines with me!
Aug 23 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: mr_burns | last post by:
hi, i have recently used a system (oscommerce store) where you can backup your database. what happens is that when you click 'backup database', it creates an SQL string, stores it in a text file...
1
by: Inpreet | last post by:
Hello I am using: ************************************************************************* header("Content-Type:application/force-download",false); header("Content-Disposition: attachment;...
4
by: dspohn | last post by:
I am designing a document management system (DMS). The files are stored in a directory on the webserver. The filenames for the documents are stored in a MySQL database. The DMS will track...
1
by: rudderstick | last post by:
Hi there all, I have an interesting problem.... I work for a company that develops software for the building industry and would like to distribute one of our software products via the web. ...
4
by: raghavendra | last post by:
Hi, Can anyone of u give me a pointer how to create a new .chm file.. One more thing is can i update the existing .chm file with some more information embedded in the xml file. Thanks &...
2
by: Amongin Ewinyu | last post by:
Hi, I'm trying to create a Windows service programmatically that will do the following: - When a user logs on, it will automatically run a service that uses BITS (Background Intelligent...
5
by: laredotornado | last post by:
Hi, I'm using PHP 4.3. There is a section of my application in which I'd like users to be able to download a custom file. The file would be different for each user, so I was planning on...
0
Tog
by: Tog | last post by:
Hello all. here is a little conundrum for you to get your teeth into. I am creating a csv file from an access database. The code I use is below and it works well .. except for one small...
3
by: Archanak | last post by:
Hi, I have a text file called file.txt. In my output page i have to provide the option to download that file. The moment user click download the dialog box should appear like how usually for...
2
by: =?Utf-8?B?YmJkb2J1ZGR5?= | last post by:
Hi, I have a callback that is being called in which I need to create a csv file that the user can download. I have the string created correctly but the download prompt dialog box is not...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.