Re: [PHP] Zip files: generate text file in archive on the fly

2010-10-17 Thread Simon J Welsh
Have you considered writing to a temporary file? On 18/10/2010, at 11:55 AM, Dotan Cohen wrote: > I need to provide a download of a zip archive containing three files. > This is fairly straightforward in PHP so long as one is working with > files that already exist. However, I need to customise on

[PHP] Zip files: generate text file in archive on the fly

2010-10-17 Thread Dotan Cohen
I need to provide a download of a zip archive containing three files. This is fairly straightforward in PHP so long as one is working with files that already exist. However, I need to customise one of the files (a simple text file) with the user name and other info before zipping. I see no mention

[PHP] zip and mac safari

2010-10-07 Thread M. Reuter
Hi, does anyone know how to use a php script to zip a folder (with a subfolder) so that safari can open it and not decompresses forever? Thanks, Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Zip Search

2010-04-16 Thread tedd
At 3:21 PM -0400 4/15/10, Jack wrote: Hello All, Can anyone recommend a good open source zip code search application and database? Thanks, Jack Do you mean something like this: http://php1.net/b/zipcode/ Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earths

Re: [PHP] Zip Search

2010-04-15 Thread Jason Pruim
On Apr 15, 2010, at 3:21 PM, Jack wrote: Hello All, Can anyone recommend a good open source zip code search application and database? If it's us zip's you want... I'd go straight to the source... http://www.usps.com/zip4/welcome.htm?from=home_header&page=findazipcode The post office a

Re: [PHP] Zip Search

2010-04-15 Thread Nathan Nobbe
On Thu, Apr 15, 2010 at 1:51 PM, Tommy Pham wrote: > > -Original Message- > > From: Nathan Nobbe [mailto:quickshif...@gmail.com] > > Sent: Thursday, April 15, 2010 12:41 PM > > To: Jack > > Cc: php-general@lists.php.net > > Subject: Re: [PHP] Zip Sear

RE: [PHP] Zip Search

2010-04-15 Thread Tommy Pham
> -Original Message- > From: Nathan Nobbe [mailto:quickshif...@gmail.com] > Sent: Thursday, April 15, 2010 12:41 PM > To: Jack > Cc: php-general@lists.php.net > Subject: Re: [PHP] Zip Search > > On Thu, Apr 15, 2010 at 1:21 PM, Jack wrote: > > > Hello Al

Re: [PHP] Zip Search

2010-04-15 Thread Nathan Nobbe
On Thu, Apr 15, 2010 at 1:21 PM, Jack wrote: > Hello All, > > Can anyone recommend a good open source zip code search application and > database? > depends on what you want, u.s., canada & mexico are pretty easy to find but for other non domestic countries if you find something good feel free to

[PHP] Zip Search

2010-04-15 Thread Jack
Hello All, Can anyone recommend a good open source zip code search application and database? Thanks, Jack

Re: [PHP]Zip and text files generated are corrupted

2010-03-30 Thread Bastien Helders
I've come to realize something, but I'm not sure if I could be right: Maybe the instructions are interrupted because there is a lack of virtual memory. I mean is there not a limit to the memory the script can use? It would explain why the script goes on, as when the instruction is interrupted, all

Re: [PHP]Zip and text files generated are corrupted

2010-03-29 Thread Bastien Helders
>I'm not sure. What is the exact command you are using? I'll show the code for the two scenario, maybe it'll help. I've edited out the sensitive information though, but I kept the essence of how it works. 1) Copy the previous file and make modification on it &1'; exec($command, $output,

Re: [PHP]Zip and text files generated are corrupted

2010-03-27 Thread Kim Madsen
Mike Roberts wrote on 25/03/2010 14:56: remove No :-) Use the proper unsubscribe method rather than spamming the list. -- Kind regards Kim Emax - masterminds.dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP]Zip and text files generated are corrupted

2010-03-26 Thread Richard Quadling
On 26 March 2010 15:20, Bastien Helders wrote: >  I have checked the rights on the file for the first scenario and no user as > locked it, I can see it, read it and write into it. I could even delete it > if I wanted. > > For the second scenario, it doesn't even apply, as the exec('zip') that > ti

Re: [PHP]Zip and text files generated are corrupted

2010-03-26 Thread Bastien Helders
I have checked the rights on the file for the first scenario and no user as locked it, I can see it, read it and write into it. I could even delete it if I wanted. For the second scenario, it doesn't even apply, as the exec('zip') that timeout try to create a new file (naturally in a folder where

Re: [PHP]Zip and text files generated are corrupted

2010-03-26 Thread Richard Quadling
On 26 March 2010 12:21, Bastien Helders wrote: > I already used error_reporting and set_time_limit and the use of > ini_set('display_errors', 1); didn't display more exceptions. > > However the modification in the exec helped display STDERR I think. > > 1) In the first scenario we have the followi

Re: [PHP]Zip and text files generated are corrupted

2010-03-26 Thread Bastien Helders
I already used error_reporting and set_time_limit and the use of ini_set('display_errors', 1); didn't display more exceptions. However the modification in the exec helped display STDERR I think. 1) In the first scenario we have the following: zip warning: ../../build/Patch-6-3-2_Q3P15.zip not f

Re: [PHP]Zip and text files generated are corrupted

2010-03-26 Thread Richard Quadling
On 26 March 2010 08:51, Bastien Helders wrote: > I've already specified the outputs, and it doesn't change if I put it in a > file. > > 1)In the first scenario, where all the data are compressed together, the > only call of exec('zip') give this output: > > > adding: bin/ (stored 0%) > adding: bi

Re: [PHP]Zip and text files generated are corrupted

2010-03-26 Thread Bastien Helders
I've already specified the outputs, and it doesn't change if I put it in a file. 1)In the first scenario, where all the data are compressed together, the only call of exec('zip') give this output: adding: bin/ (stored 0%) adding: bin/startHotFixInstaller.bat (deflated 41%) adding: bin/startHotFi

Re: [PHP]Zip and text files generated are corrupted

2010-03-25 Thread Richard Quadling
On 25 March 2010 13:31, Bastien Helders wrote: > I'm really stumped, it seems that although the script is running under the > time limit, if a single instruction such as exec("zip") in the first case, > or copy() in the second case are timing out, because it takes too much time > processing the bi

RE: [PHP]Zip and text files generated are corrupted

2010-03-25 Thread Mike Roberts
://www.profsurv.com/magazine/article.aspx?i=70379 -Original Message- From: Bastien Helders [mailto:eldroskan...@gmail.com] Sent: Thursday, March 25, 2010 9:32 AM To: rquadl...@googlemail.com Cc: a...@ashleysheridan.co.uk; php-general@lists.php.net Subject: Re: [PHP]Zip and text files generated are

Re: [PHP]Zip and text files generated are corrupted

2010-03-25 Thread Bastien Helders
I'm really stumped, it seems that although the script is running under the time limit, if a single instruction such as exec("zip") in the first case, or copy() in the second case are timing out, because it takes too much time processing the big file. Is there any configuration in php.ini (or anywh

Re: [PHP]Zip and text files generated are corrupted

2010-03-25 Thread Bastien Helders
Forgot to say, it is the second scenario that generate corrupted zip and text files with unexpected end of files. 2010/3/25 Bastien Helders > So I tested two scenario: > > - First, I gather all the files selected for the patch and then compress > them together and here is what is displayed: > >

Re: [PHP]Zip and text files generated are corrupted

2010-03-25 Thread Bastien Helders
So I tested two scenario: - First, I gather all the files selected for the patch and then compress them together and here is what is displayed: [Begin display] The command zip -gr ../../build/Patch-6-3-2_Q3P15.zip * returned a status of 14 and the following output: adding: bin/ (stored 0%) adding

RE: [PHP]Zip and text files generated are corrupted

2010-03-24 Thread Mike Roberts
://www.profsurv.com/magazine/article.aspx?i=70379 -Original Message- From: Richard Quadling [mailto:rquadl...@googlemail.com] Sent: Wednesday, March 24, 2010 11:25 AM To: Bastien Helders Cc: a...@ashleysheridan.co.uk; php-general@lists.php.net Subject: Re: [PHP]Zip and text files generated are

RE: [PHP]Zip and text files generated are corrupted

2010-03-24 Thread Mike Roberts
://www.profsurv.com/magazine/article.aspx?i=70379 -Original Message- From: Bastien Helders [mailto:eldroskan...@gmail.com] Sent: Wednesday, March 24, 2010 11:19 AM To: a...@ashleysheridan.co.uk Cc: php-general@lists.php.net Subject: Re: [PHP]Zip and text files generated are corrupted Hi Ashley, No

Re: [PHP]Zip and text files generated are corrupted

2010-03-24 Thread Richard Quadling
On 24 March 2010 15:19, Bastien Helders wrote: > Hi Ashley, > > No, I set the time limit high enough (set_time_limit(2*HOUR+8*MINUTE);), and > the execution stops a long time before the time limit is reached. > > It might be relevent that the web application is hosted on a Windows > Machine. > > I

Re: [PHP]Zip and text files generated are corrupted

2010-03-24 Thread Bastien Helders
Hi Ashley, No, I set the time limit high enough (set_time_limit(2*HOUR+8*MINUTE);), and the execution stops a long time before the time limit is reached. It might be relevent that the web application is hosted on a Windows Machine. I asked myself, would setting the parameter "memory_limit" of th

Re: [PHP]Zip and text files generated are corrupted

2010-03-24 Thread Ashley Sheridan
On Wed, 2010-03-24 at 15:34 +0100, Bastien Helders wrote: > Hi list, > > I've got this web app, which from a list of selected folders (with content) > want to create a zip containing them as well as creating a text file with > information about the chosen folders and how to use them. > > To crea

[PHP]Zip and text files generated are corrupted

2010-03-24 Thread Bastien Helders
Hi list, I've got this web app, which from a list of selected folders (with content) want to create a zip containing them as well as creating a text file with information about the chosen folders and how to use them. To create the zip file I use exec('zip -gr ' .$zipname.' * >> mylog.log'); in th

Re: [PHP] zip codes and lat/longs

2007-12-06 Thread Robert Cummings
Welcome back Richard :) Cheers, Rob. On Thu, 2007-12-06 at 10:43 -0600, Richard Lynch wrote: > On Thu, December 6, 2007 9:49 am, Jason Pruim wrote: > > > > On Dec 6, 2007, at 10:29 AM, Daniel Brown wrote: > > > >> On Dec 5, 2007 8:58 PM, tedd <[EMAIL PROTECTED]> wrote: > >>> Hi gang: > >>> > >>>

Re: [PHP] zip codes and lat/longs

2007-12-06 Thread Daniel Brown
On Dec 6, 2007 11:43 AM, Richard Lynch <[EMAIL PROTECTED]> wrote: > The free one is from an OLD US census, paid for by taxpayers, and > therefore Public Domain. > > $1,000 ones (should) include new zips (lots) and up-to-date population > info etc. Yeah, mine actually does. It's from 2006 and

Re: [PHP] zip codes and lat/longs

2007-12-06 Thread Richard Lynch
On Thu, December 6, 2007 9:49 am, Jason Pruim wrote: > > On Dec 6, 2007, at 10:29 AM, Daniel Brown wrote: > >> On Dec 5, 2007 8:58 PM, tedd <[EMAIL PROTECTED]> wrote: >>> Hi gang: >>> >>> I'm entertaining how to determine what zip codes fall within a 50 >>> mile radius of another zip code. >>> >>>

Re: [PHP] zip codes and lat/longs

2007-12-06 Thread Daniel Brown
On Dec 6, 2007 11:12 AM, mike <[EMAIL PROTECTED]> wrote: > You can use the formula to figure out how many zip codes are within the radius Or you can stop shooting me in the ass by showing me things that make me wonder why I wasted all that time! ;-P -- Daniel P. Brown [Phone Numbers Go Here

Re: [PHP] zip codes and lat/longs

2007-12-06 Thread mike
You can use the formula to figure out how many zip codes are within the radius Here's a snippet of old code that did that: $radius = 50; // in miles $uchk = db_query("SELECT uz.zip FROM user_zip WHERE uid=$visitor[uid]"); if(db_numrows($uchk) == 1) { list($vz) = d

RE: [PHP] zip codes and lat/longs

2007-12-06 Thread Jay Blanchard
[snip] I'm entertaining how to determine what zip codes fall within a 50 mile radius of another zip code. Anyone done this before? Also, does anyone have any sources for zip codes and lat/long databases? TIA for any help/suggestions. [/snip] Here is a code snip that I use to determine things w

Re: [PHP] zip codes and lat/longs

2007-12-06 Thread Daniel Brown
On Dec 6, 2007 11:02 AM, mike <[EMAIL PROTECTED]> wrote: [snip!] > 1) download ZCTA (the text version) from > http://www.census.gov/geo/www/gazetteer/places2k.html [snip!] How you say? Son of the bitch. Well, my database still has more information, including nearby ZIP codes, et cetera.

Re: [PHP] zip codes and lat/longs

2007-12-06 Thread mike
After reading this I decided to figure out what the issue was. It was the MySQL result set. Somehow the columns changed and messed up the float values. So I just whipped this up quick to reload the data (and possibly update it too) Here's the quick-and-dirty: 1) download ZCTA (the text version)

Re: [PHP] zip codes and lat/longs

2007-12-06 Thread Daniel Brown
On Dec 6, 2007 10:49 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: > > On Dec 6, 2007, at 10:29 AM, Daniel Brown wrote: > > > On Dec 5, 2007 8:58 PM, tedd <[EMAIL PROTECTED]> wrote: > >> Hi gang: > >> > >> I'm entertaining how to determine what zip codes fall within a 50 > >> mile radius of another zi

Re: [PHP] zip codes and lat/longs

2007-12-06 Thread Jason Pruim
On Dec 6, 2007, at 10:29 AM, Daniel Brown wrote: On Dec 5, 2007 8:58 PM, tedd <[EMAIL PROTECTED]> wrote: Hi gang: I'm entertaining how to determine what zip codes fall within a 50 mile radius of another zip code. Anyone done this before? Also, does anyone have any sources for zip codes and

Re: [PHP] zip codes and lat/longs

2007-12-06 Thread Daniel Brown
On Dec 5, 2007 8:58 PM, tedd <[EMAIL PROTECTED]> wrote: > Hi gang: > > I'm entertaining how to determine what zip codes fall within a 50 > mile radius of another zip code. > > Anyone done this before? > > Also, does anyone have any sources for zip codes and lat/long databases? Tedd, I hav

Re: [PHP] zip codes and lat/longs

2007-12-05 Thread mike
Here's code I had, but it recently stopped working It takes the zip code for the user and the user you're viewing, looks them up from the data table (z_data_zips) and does the calculation. The formula is in a handful of places - I converted mine from a MySQL example (I think, or vice versa) You c

RE: [PHP] zip codes and lat/longs

2007-12-05 Thread Bastien Koert
hate to say it,but there is lots on google like http://www.code322.com/zipcode_locator.php bastien> Date: Wed, 5 Dec 2007 20:58:52 -0500> To: php-general@lists.php.net> From: [EMAIL PROTECTED]> Subject: [PHP] zip codes and lat/longs> > Hi gang:> > I'm entertain

[PHP] zip codes and lat/longs

2007-12-05 Thread tedd
Hi gang: I'm entertaining how to determine what zip codes fall within a 50 mile radius of another zip code. Anyone done this before? Also, does anyone have any sources for zip codes and lat/long databases? TIA for any help/suggestions. Cheers, tedd -- --- http://sperling.com http://an

Re: [PHP] zip freezes - how to handle corrupt CRC in zip-file

2007-08-16 Thread ecc
HIVE::ER_INCONS > # ZIPARCHIVE::ER_INVAL > # ZIPARCHIVE::ER_MEMORY > # ZIPARCHIVE::ER_NOENT > # ZIPARCHIVE::ER_NOZIP > # ZIPARCHIVE::ER_OPEN > # ZIPARCHIVE::ER_READ > # ZIPARCHIVE::ER_SEEK > } > > > Richard Lynch wrote: >> >>

Re: [PHP] zip freezes - how to handle corrupt CRC in zip-file

2007-08-15 Thread ecc
EAD # ZIPARCHIVE::ER_SEEK } Richard Lynch wrote: > > On Tue, August 14, 2007 5:42 am, ecc wrote: >> i´m reading zip-files with the php zip-functions without a problem. >> Now i >> got and Zip containing an corrupt crc (If i open this file via winzip, >> the >> error

Re: [PHP] zip freezes - how to handle corrupt CRC in zip-file

2007-08-14 Thread Richard Lynch
On Tue, August 14, 2007 5:42 am, ecc wrote: > i´m reading zip-files with the php zip-functions without a problem. > Now i > got and Zip containing an corrupt crc (If i open this file via winzip, > the > error is shown). > > It looks like the php functions for zip-handeling

Re: [PHP] zip freezes - how to handle corrupt CRC in zip-file

2007-08-14 Thread ecc
gt;> >> >> Hi @all, >> >> i´m reading zip-files with the php zip-functions without a problem. Now i >> got and Zip containing an corrupt crc (If i open this file via winzip, >> the >> error is shown). >> >> It looks like the php functions for zi

Re: [PHP] zip freezes - how to handle corrupt CRC in zip-file

2007-08-14 Thread sanjeevn
Use error handling function for time being and exit from the loop where control going in the loop. On 8/14/07, ecc <[EMAIL PROTECTED]> wrote: > > > Hi @all, > > i´m reading zip-files with the php zip-functions without a problem. Now i > got and Zip containing an corrupt

[PHP] zip freezes - how to handle corrupt CRC in zip-file

2007-08-14 Thread ecc
Hi @all, i´m reading zip-files with the php zip-functions without a problem. Now i got and Zip containing an corrupt crc (If i open this file via winzip, the error is shown). It looks like the php functions for zip-handeling "zip_entry_read" and "ZipArchive::getFrom..." do n

Re: [PHP] ZIP it :o)

2007-06-01 Thread Richard Lynch
, it works, it does work fast enough, and I am happy :o) > > Thanks a bunch, guys, and have a great day! > > This is Christian Haensel live from Extertal, Germany. Back to you. > > -:oD)= > > > - Original Message - > From: "Tijnema" <[EMAIL PROTECTED]> >

Re: [PHP] ZIP it :o)

2007-06-01 Thread Richard Lynch
On Fri, June 1, 2007 12:30 am, Auto-Deppe, C. Haensel wrote: > Morning guys, > > I have been trying to find an easy to use way to zip an archive on a > linux > box running PHP5. Now I've tried the zip-lib.php and others, but they > always > throw an error msg But that is not the question. > >

Re: [PHP] ZIP it :o)

2007-06-01 Thread Jim Lucas
, and then zip em up, delete >> them >> > afterwards. I copy them to the dir so I wouldn't have the whole >> > /kfz_images/number/full/ structure in the zip). >> > >> > Aaaanyhow, it works, it does work fast enough, and I am happy :o) >> > >> >

Re: [PHP] ZIP it :o)

2007-06-01 Thread Tijnema
e >> them >> > afterwards. I copy them to the dir so I wouldn't have the whole >> > /kfz_images/number/full/ structure in the zip). >> > >> > Aaaanyhow, it works, it does work fast enough, and I am happy :o) >> > >> > Thanks a bunch, gu

Re: [PHP] ZIP it :o)

2007-06-01 Thread Jim Lucas
/kfz_images/number/full/ structure in the zip). > > Aaaanyhow, it works, it does work fast enough, and I am happy :o) > > Thanks a bunch, guys, and have a great day! > > This is Christian Haensel live from Extertal, Germany. Back to you. > > -:oD)= > > > - Original Me

Re: [PHP] ZIP it :o)

2007-06-01 Thread Tijnema
full/ structure in the zip). > > Aaaanyhow, it works, it does work fast enough, and I am happy :o) > > Thanks a bunch, guys, and have a great day! > > This is Christian Haensel live from Extertal, Germany. Back to you. > > -:oD)= > > > - Original Message - Fr

Re: [PHP] ZIP it :o)

2007-06-01 Thread Jim Lucas
nks a bunch, guys, and have a great day! This is Christian Haensel live from Extertal, Germany. Back to you. -:oD)= - Original Message - From: "Tijnema" <[EMAIL PROTECTED]> To: "Chris" <[EMAIL PROTECTED]> Cc: "Auto-Deppe, C. Haensel" <[EMAIL PROTECTED

Re: [PHP] ZIP it :o)

2007-06-01 Thread Auto-Deppe, C. Haensel
! This is Christian Haensel live from Extertal, Germany. Back to you. -:oD)= - Original Message - From: "Tijnema" <[EMAIL PROTECTED]> To: "Chris" <[EMAIL PROTECTED]> Cc: "Auto-Deppe, C. Haensel" <[EMAIL PROTECTED]>; Sent: Friday, June

Re: [PHP] ZIP it :o)

2007-06-01 Thread Tijnema
On 6/1/07, Chris <[EMAIL PROTECTED]> wrote: Auto-Deppe, C. Haensel wrote: > Morning guys, > > I have been trying to find an easy to use way to zip an archive on a linux > box running PHP5. Now I've tried the zip-lib.php and others, but they > always > throw an error msg But that is not the qu

Re: [PHP] ZIP it :o)

2007-05-31 Thread Chris
Auto-Deppe, C. Haensel wrote: Morning guys, I have been trying to find an easy to use way to zip an archive on a linux box running PHP5. Now I've tried the zip-lib.php and others, but they always throw an error msg But that is not the question. I am looking to use exec("zip archive.zip $d

Re: [PHP] ZIP it :o)

2007-05-31 Thread Jim Lucas
Auto-Deppe, C. Haensel wrote: Morning guys, I have been trying to find an easy to use way to zip an archive on a linux box running PHP5. Now I've tried the zip-lib.php and others, but they always throw an error msg But that is not the question. I am looking to use exec("zip archive.zip $d

Re: [PHP] ZIP it :o)

2007-05-31 Thread Stut
Auto-Deppe, C. Haensel wrote: I have been trying to find an easy to use way to zip an archive on a linux box running PHP5. Now I've tried the zip-lib.php and others, but they always throw an error msg But that is not the question. I am looking to use exec("zip archive.zip $directory"); $d

[PHP] ZIP it :o)

2007-05-31 Thread Auto-Deppe, C. Haensel
Morning guys, I have been trying to find an easy to use way to zip an archive on a linux box running PHP5. Now I've tried the zip-lib.php and others, but they always throw an error msg But that is not the question. I am looking to use exec("zip archive.zip $directory"); $directory has been

RE: [PHP] PHP Zip Question

2006-11-07 Thread Matt Street
ll of this is that my code is now working and I can finish off my tests. Thanks again Matt -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: 06 November 2006 21:02 To: Matt Street Cc: 'php-general@lists.php.net' Subject: RE: [PHP] PHP Zip Question On Mon, Nov

RE: [PHP] PHP Zip Question

2006-11-06 Thread Richard Lynch
On Mon, November 6, 2006 6:28 am, Matt Street wrote: > Thanks for the response, I decided that it was easier to unpack the > zip > during the upload process and then delete the zip. I can then indicate > which files I want to zip up and this works (opening the zip on the > server), but, and it's a

RE: [PHP] PHP Zip Question

2006-11-06 Thread Matt Street
Thanks for the response, I decided that it was easier to unpack the zip during the upload process and then delete the zip. I can then indicate which files I want to zip up and this works (opening the zip on the server), but, and it's a big but, when the zip is downloaded to the users machine it

Re: [PHP] PHP Zip Question

2006-10-26 Thread Richard Lynch
Post a link to your on-line application. Also, use LiveHTTPHeaders and such to make sure you are getting what you think you are getting. And use vi or TextPad or whatever on your desktop to open up the .zip file and see what's in there. If it starts with: ERROR: PHP error blah blah blah then you

[PHP] PHP Zip Question

2006-10-24 Thread Matt Street
Dear all, I am trying to create a zipping mechanism that allows the user to select a number of files from a list; these files are then zipped and downloaded to the user's machine. I presently have: $zip = new ZipArchive(); $filename = $zipfinalpath."tutor/zipfiles/".$tutorzipfile;

Re: [PHP] [RE-PHRASE] PHP ZIP Class

2005-06-17 Thread Jochem Maas
Jay Blanchard wrote: I am in need of a PHP class or script or something that will allow me to like Richard mentioned - exec out to the shell and zip there I wrote a little/simple class when I was bored, here you go, HIH - (sorry about the linewrapping) I use the class in backoffice settin

Re: [PHP] [RE-PHRASE] PHP ZIP Class

2005-06-16 Thread Richard Lynch
On Thu, June 16, 2005 7:05 am, Jay Blanchard said: > I am in need of a PHP class or script or something that will allow me to > designate a group of files to be zipped up, including PDF files, > automagically. It must be compatible with WinZip as that is what the > user will have access to. I have

[PHP] Re: [RE-PHRASE] PHP ZIP Class

2005-06-16 Thread Manuel Lemos
Hello, on 06/16/2005 11:05 AM Jay Blanchard said the following: I am in need of a PHP class or script or something that will allow me to designate a group of files to be zipped up, including PDF files, automagically. It must be compatible with WinZip as that is what the user will have access to.

Re: [PHP] [RE-PHRASE] PHP ZIP Class

2005-06-16 Thread Philip Hallstrom
I am in need of a PHP class or script or something that will allow me to designate a group of files to be zipped up, including PDF files, automagically. It must be compatible with WinZip as that is what the user will have access to. I have tried several things, a couple of classes, and some other

[PHP] Re: [RE-PHRASE] PHP ZIP Class

2005-06-16 Thread Jason Barnett
I have no clue why your PDF's are reading one byte short. However, I did find a class over at SourceForge which claims to do exactly what you want: http://sourceforge.net/projects/few/ I have never used this package and have no idea if it's going to explode when you use it. -- NEW? | http:

[PHP] [RE-PHRASE] PHP ZIP Class

2005-06-16 Thread Jay Blanchard
I am in need of a PHP class or script or something that will allow me to designate a group of files to be zipped up, including PDF files, automagically. It must be compatible with WinZip as that is what the user will have access to. I have tried several things, a couple of classes, and some other t

Re: [PHP] Zip Codes

2004-11-04 Thread Dusty Bin
Brian V Bonini wrote: On Thu, 2004-11-04 at 12:47, Vail, Warren wrote: If you can figure out how to make sense of this, you might be able to find the point that a system is connected to the internet, by tracing back to a visitors current IP address. Which may get you close but either way would pr

RE: [PHP] Zip Codes

2004-11-04 Thread Brian V Bonini
On Thu, 2004-11-04 at 12:47, Vail, Warren wrote: > If you can figure out how to make sense of this, you might be able to find > the point that a system is connected to the internet, by tracing back to a > visitors current IP address. Which may get you close but either way would probably be more i

RE: [PHP] Zip Codes

2004-11-04 Thread Jay Blanchard
[snip] > Thanks for the sarcasm, it definitely helps. > > Why is it that when people ask a question there is always someone that has > a smartass answer? > It keeps us on our toes. Someone's gotta do it. [/snip] It would be a terrible thing to arrive one day, open the list, and see that everyone

Re: [PHP] Zip Codes

2004-11-04 Thread Matthew Sims
> Thanks for the sarcasm, it definitely helps. > > Why is it that when people ask a question there is always someone that has > a smartass answer? > It keeps us on our toes. Someone's gotta do it. -- --Matthew Sims -- -- PHP General Mailing List (http://www.php.net/) T

RE: [PHP] Zip Codes

2004-11-04 Thread Vail, Warren
Because for some of us, that part of our body is the smartest thing we have going, and the rest of us is not engaged in the question. Warren Vail -Original Message- From: bb9876 [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 9:41 AM To: [EMAIL PROTECTED] Subject: Re: [PHP

RE: [PHP] Zip Codes

2004-11-04 Thread Vail, Warren
the list informed. Warren Vail -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 9:22 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Zip Codes bb9876 wrote: > Is there any way to use PHP to determine the zip code someone is > visitin

Re: [PHP] Zip Codes

2004-11-04 Thread bb9876
Thanks for the sarcasm, it definitely helps. Why is it that when people ask a question there is always someone that has a smartass answer? "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Thursday 04 November 2004 16:59, bb9876 wrote: > > Is there any way to use PHP t

Re: [PHP] Zip Codes

2004-11-04 Thread Matthew Weier O'Phinney
* Bb9876 <[EMAIL PROTECTED]>: > "John Nichel" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > bb9876 wrote: > > > Is there any way to use PHP to determine the zip code someone is > > > visiting > > > from, assuming they are all from the US? > > > > > > > Outside of asking the visi

Re: [PHP] Zip Codes

2004-11-04 Thread bb9876
Okay, I run a movie news site and wanted to use it to make it even quicker for users to find movie times in their area whether they were logged in or not, but that's the way it goes. Thanks fo rthe replies. "John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > bb9876 wrote:

Re: [PHP] Zip Codes

2004-11-04 Thread Jason Wong
On Thursday 04 November 2004 16:59, bb9876 wrote: > Is there any way to use PHP to determine the zip code someone is visiting > from, assuming they are all from the US? Something like this should work: -- start Please input zipcode -- end -- Jason Wong -> Gremlins Associat

Re: [PHP] Zip Codes

2004-11-04 Thread John Nichel
bb9876 wrote: Is there any way to use PHP to determine the zip code someone is visiting from, assuming they are all from the US? Outside of asking the visitor for it, no. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsu

Re: [PHP] Zip Codes

2004-11-04 Thread Greg Donald
On Thu, 4 Nov 2004 08:59:50 -0800, bb9876 <[EMAIL PROTECTED]> wrote: > Is there any way to use PHP to determine the zip code someone is visiting > from, assuming they are all from the US? http://www.usps.com/webtools/ -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://desti

RE: [PHP] Zip Codes

2004-11-04 Thread Jay Blanchard
[snip] Is there any way to use PHP to determine the zip code someone is visiting from, assuming they are all from the US? [/snip] You would have to determine their IP, which, some being dynamically assigned at log on, would not necessarily indicate the users location. Then you would have to be abl

RE: [PHP] Zip Codes

2004-11-04 Thread Vail, Warren
Do you mean other than asking them, like using their IP address? Warren Vail -Original Message- From: bb9876 [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 9:00 AM To: [EMAIL PROTECTED] Subject: [PHP] Zip Codes Is there any way to use PHP to determine the zip code someone

[PHP] Zip Codes

2004-11-04 Thread bb9876
Is there any way to use PHP to determine the zip code someone is visiting from, assuming they are all from the US? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ZIP

2004-09-14 Thread Marek Kilimajer
Juan Pablo Herrera wrote: HI! I need catch many files in my server and make a zip file. In pear i not see nothing. I think use exec for contruction a zip file. Any idea? Regards, JP There are some classes (not in pear) that can create zip files w/out any special extension. google for "ph

Re: [PHP] ZIP

2004-09-14 Thread Fernando Gutierrez
searching in php.net i found this... http://www.zend.com/zend/spotlight/creating-zip-files1.php On Tue, 14 Sep 2004 12:11:23 -0300 (ART), Juan Pablo Herrera <[EMAIL PROTECTED]> wrote: > HI! > I need catch many files in my server and make a zip file. In pear i not > see nothing. I think use exe

[PHP] ZIP

2004-09-14 Thread Juan Pablo Herrera
HI! I need catch many files in my server and make a zip file. In pear i not see nothing. I think use exec for contruction a zip file. Any idea? Regards, JP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Zip-code Form Validation Scripts and Zipcode Program

2004-05-12 Thread Ryan Munevar
Hey Guys, Question 1: Does anyone have a really good php form validation script for Zip-codes? Question 2: Does anyone know of a great depository of form validation scripts for all kinds of form inputs? Question 3: Does anyone know (yea I know, getting tedious here) of a way or program to

Re: [PHP] zip problem

2004-02-17 Thread Jason Wong
On Tuesday 17 February 2004 03:28, marc serra wrote: > I want to know if it's possible to extract a zip file in PHP. > > I've read php documentation on ZZIPlib but i don't find any solution to > extract file. > > Can you please help me to solve it. The example in the manual shows how to open a zi

[PHP] zip problem

2004-02-16 Thread marc serra
Hi, I want to know if it's possible to extract a zip file in PHP. I've read php documentation on ZZIPlib but i don't find any solution to extract file. Can you please help me to solve it. Thx in advance, Marc

Re: [PHP] Zip Code Locator / Radius Search

2003-11-20 Thread Becoming Digital
iginal Message - From: "Marco Tabini" <[EMAIL PROTECTED]> To: "Becoming Digital" <[EMAIL PROTECTED]> Cc: "php-general" <[EMAIL PROTECTED]> Sent: Thursday, 20 November, 2003 19:22 Subject: Re: [PHP] Zip Code Locator / Radius Search This may help: htt

Re: [PHP] Zip Code Locator / Radius Search

2003-11-20 Thread Marco Tabini
This may help: http://phparch.com/issue.php?mid=9 ... and it's even a free issue :) Marco -- php|architect - The Magazine for PHP Professionals Try us free at http://www.phparch.com! Complete searchable PHP mailing list archives at http://www.phparch.com/mailinglists Becoming Digital wrote:

[PHP] Zip Code Locator / Radius Search

2003-11-20 Thread Becoming Digital
I need a "search by zip code," aka radius search feature for a current project. I know I've seen info on how this works but I can't seem to find it. I guess my own search abilities are malfunctioning. Would someone be so kind as to point me to a link? Thanks a lot. Edward Dudlik "Those who

Re: [PHP] Zip library

2003-09-17 Thread Marek Kilimajer
There are also pure php classes that can handle zip files, for example http://www.phpconcept.net/pclzip/index.en.php Stéphane Paquay wrote: Hi all, I need to unzip a file on a linux server automatically. I found the ZZiplib being able to do this but I don't know how to configure PHP to handle

Re: [PHP] Zip library

2003-09-17 Thread Jason Wong
On Wednesday 17 September 2003 16:38, St�hane Paquay wrote: > I need to unzip a file on a linux server automatically. > > I found the ZZiplib being able to do this but I don't know how to configure > PHP to handle it. You need to recompile php adding --with-zip[=DIR] If you don't know how to

[PHP] Zip library

2003-09-17 Thread Stéphane Paquay
Hi all, I need to unzip a file on a linux server automatically. I found the ZZiplib being able to do this but I don't know how to configure PHP to handle it. I use PHP 4.2.2. Thanks in advance, Stephane. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

  1   2   >