Home » PHP » Page 2
zip or rar a folder to download


I have a folder with full of files. Instead of downloading files one by one, how can I zip or rar that folder to download?

Thanks in advance

zip file upload !


Can anybody guide me to solve this proble. I have to upload the zip file to the webserver. The php script should read the name of the zipfile and print it and also it should read the name of the text files that are zipped and the contents in the text file.

Also is there anyway to zip the files and make it available for downlaod using the php

Thanks in advance.

Zip files and PHP

I was wondering if it was possible to upload say a picture file and a text file and in the script put them into a zip file programatically.

if this is possible could you offer some tips or links please?


Thank you it looks like ill be reading for a while.
thanks again ,regards

This tells you everything you need to know about zipping with PHP.

zipcodes packages

can anybody point me in the right diction where i can download packages with U.S.A. zip codes for every city and towns to every state and also includes the latitude and longitude of each town and city

Zip Codes -

I've been working with a script that allows users to look up other users in their area based on their zip code. I attempted the script myself but the whole lat/long thing was a bit much for me to understand, so I settled for one that I found on the net. The problem that I'm having is that the query results are loaded into an array such as $zips = $z->get_zips_in_range("".$my_zip."", ""

Zip code locator issues

I am writing a script that locates stores in a 20 mile radius of a given zip code. That part works fine. I am adding the functionality to also choose a product that those stores carry and display only the stores in a 20 mile radius that sell that product.

Each product column in the database has numerous products in it separated by a ';'. I thought I could use the explode function to cre

Zip and download in PHP


I have a folder with full of doc files. Instead of downloading the files one by one, is there any way of zip(rar)-ing them and download in one go with PHP?


Zero in PHP form fields

Hello, I'm just starting to use PHP after years of working with ASP, so pardon me if this sounds like a very basic question, but how do I get PHP to acknowledge zero (0) in a form field. Whenever the user enters "zero" and hits submit on the PHP form, it totally ignores the zero.

I am inserting the value into a MYSQL database and I initially thought I was setting my field type wrong, bu

Zend wamp virtul host problem

I need to setup a virtual host for my zend aplication
I managed to link all my zend framework with php and windows I am using wamp 2.2d and I am having a problem with the virtual host

NameVirtualHost<VirtualHost> ServerAdmin webmaster@localhost DocumentRoot "c:/wamp/www" ServerName localhost ServerAlias localhost ErrorLog

Zend view displaying multiple times

hi guys, im not that new to the zend framework. i just started a new project with zend framework 1.12 and cant figure out why the framework would display output 3 time?
so for example in the index.phtml view script, whether i put hello, or <?= 'hello';?> i always get output: hellohellohello.

always 3times unless i put an exit right after the output, then it would only output o

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .