Bastien, I thank your help, but I think that your idea doesn't resolve my problem because I need generate that file online when user clicks on a link.The file must be obtained at the time he clicks. Thanks anyway, Petrus Bastos. On Feb 18, 2008 12:18 PM, Bastien Koert <bastien_k@xxxxxxxxxxx> wrote: > > Hey, what about placing the unzipped folder into a dir that has a process > watching it that will pick up the file, zip and protect it and then ftp (or > another delivery mechanism) to the destination? > > Bastien > > Date: Mon, 18 Feb 2008 08:59:02 -0300> From: petrusbastos@xxxxxxxxx> To: > nick@xxxxxxxxxxxxxx> CC: dmagick@xxxxxxxxx; php-general@xxxxxxxxxxxxx> > Subject: Re: Protected ZIP file with password> > Nick,> > Thanks again > for your worry. So, let's go, here goes my situation. I'm> exporting data to > another system. That system have an option to be feed by a> password > protected zip file. The export activity will be occur in this way:> the user > will generate the file on my application and will put this file> into that > another system. So, I need generate that file. Maybe one solution> is to > generate the file unzipped and determine that user should zip the file> with > password on his Windows or Linux operating system. But, I can't let> that > responsibility on user hands. So, because that I need to generate the> file > already protected.> > PS: Sorry my bad english. I'm Brazilian and I'm not > fluent english.> > Thanks one more time,> Petrus Bastos.> > On Feb 18, 2008 > 12:26 AM, Nick Stinemates <nick@xxxxxxxxxxxxxx> wrote:> > > Petrus Bastos > wrote:> > > Chris,> > >> > > Thanks for your help, but I think that package > can't make what I> > want.> > > But , I appreciate your help anyway and if > you have any other ideas,> > please> > > let me know! :)> > >> > > Thanks,> > > > Petrus Bastos.> > >> > > On Feb 17, 2008 10:38 PM, Chris < > dmagick@xxxxxxxxx> wrote:> > >> > >> > >> Petrus Bastos wrote:> > >>> > > >>> Unfortunately I don't have access to this family of methods because> > > >>>> > >> security> > >>> > >>> policy. Lefting this way out, I didn't find > anyway on how to do that.> > If> > >>>> > >> you> > >>> > >>> have any idea > or know any module can do that, I'll appreciate to know> > >>>> > >> too!> > > >>> > >> See if the pear package does what you want:> > >>> > >> > http://pear.php.net/package/File_Archive> > >>> > >> --> > >> Postgresql & > php tutorials> > >> http://www.designmagick.com/> > >>> > >>> > >> > >> > > I'm sure you know what you're doing, but maybe you'd be better off> > > letting us know the task / process to better understand what you'd like> > > to accomplish. From there, since it's obvious that PHP does not have> > > built in password functions, and that exec() is out of the question;> > > maybe we can figure out how to move onward.> >> > --> > ==================> > > Nick Stinemates (nick@xxxxxxxxxxxxxx)> > http://nick.stinemates.org> >> > > AIM: Nick Stinemates> > MSN: nickstinemates@xxxxxxxxxxx> > Yahoo: > nickstinemates@xxxxxxxxx> > ==================> >> >> > > _________________________________________________________________ > >