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 t
Hi,
I have an application that along filling in some forms, it produces a
pdf file, as confirmation of all entered data.
I want to send this pdf file to a different window/tab of the browser,
so it is displayed and can latter be printed.
In the mean time, the original window contains a c
On Monday 18 February 2008 13:59:11 julian wrote:
> Hi,
>
> I have an application that along filling in some forms, it produces a
> pdf file, as confirmation of all entered data.
>
> I want to send this pdf file to a different window/tab of the browser,
> so it is displayed and can latter be print
2008. 02. 18, hétfő keltezéssel 13.59-kor julian ezt írta:
>
> Hi,
>
> I have an application that along filling in some forms, it produces a
> pdf file, as confirmation of all entered data.
>
> I want to send this pdf file to a different window/tab of the browser,
> so it is displayed and can
I was wondering if someone could offer some advice please.
I'm being sent data in tab delimited files which I'm trying to split
into smaller files and convert to comma delimited using PHP.
Now, I can replace the tabs with commas and opening the resulting
files in a basic text editor all looks fin
not html target, pdf window so it can be saved and printed
separately form the application.
Børge Holen wrote:
On Monday 18 February 2008 13:59:11 julian wrote:
Hi,
I have an application that along filling in some forms, it produces a
pdf file, as confirmation of all entered data.
I
No, this is not possible.
You have to do at least two requests, one to get the PDF, one to get the
html confirmation message.
Normally you would onle open the pdf in a new window using
target="_blank" for the link. Workflow isn't broken, but you have no
confirmation message.
There are seve
On Mon, 18 Feb 2008, Graham Cossey wrote:
I was wondering if someone could offer some advice please.
I'm being sent data in tab delimited files which I'm trying to split
into smaller files and convert to comma delimited using PHP.
Now, I can replace the tabs with commas and opening the resulti
On Feb 18, 2008 1:58 PM, Edward Kay <[EMAIL PROTECTED]> wrote:
>
> > Now, I can replace the tabs with commas and opening the resulting
> > files in a basic text editor all looks fine.
>
> When you do this, ensure you escape any commas that may exist in the data.
>
> IIRC, Excel handles this be encl
> Now, I can replace the tabs with commas and opening the resulting
> files in a basic text editor all looks fine.
When you do this, ensure you escape any commas that may exist in the data.
IIRC, Excel handles this be enclosing the whole field in "double quotes".
Can remember how it handles esca
[snip]
not html target, pdf window so it can be saved and printed
separately form the application.
[/snip]
You have to use an anchor tag's target attribute to open the new tab or
window (PHP is server-side and cannot do this);
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
On Feb 15, 2008 9:43 AM, Jason Pruim <[EMAIL PROTECTED]> wrote:
> I am trying to think through something, I am writing a simple proxy
> script for my own knowledge and to simplify my life :)
>
> What I want to do is bring in multiple website by going to 1 webpage
> (Think RSS for the entire websi
On Feb 18, 2008 8:58 AM, Edward Kay <[EMAIL PROTECTED]> wrote:
>
> > Now, I can replace the tabs with commas and opening the resulting
> > files in a basic text editor all looks fine.
>
> When you do this, ensure you escape any commas that may exist in the data.
>
> IIRC, Excel handles this be enc
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: [EMAIL PROTECTED]> To: [EMAIL
> PROTECTE
On Feb 18, 2008 8:55 AM, Jay Blanchard <[EMAIL PROTECTED]> wrote:
> [snip]
> not html target, pdf window so it can be saved and printed
> separately form the application.
> [/snip]
>
> You have to use an anchor tag's target attribute to open the new tab or
> window (PHP is server-side and can
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 <[EMAIL PROTECTED]> wro
Petrus Bastos <[EMAIL PROTECTED]> wrote:
> 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.
Wolf,
I thank your help! I have all zip methods available, but don't have any
method that generate password protected zip file.
Thanks anyway,
Petrus Bastos.
On Feb 18, 2008 1:10 PM, Wolf <[EMAIL PROTECTED]> wrote:
>
> Petrus Bastos <[EMAIL PROTECTED]> wrote:
> > Bastien,
> >
> > I
[snip]
That's funny... MS defaults to tabs for a file whose extension is .csv
which is an acronym for (C)omma (S)eparated (V)alues.
[/snip]
Welcome to Microsoftwhere do we want you to go today?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
Graham Cossey <[EMAIL PROTECTED]> wrote:
> I was wondering if someone could offer some advice please.
>
> I'm being sent data in tab delimited files which I'm trying to split
> into smaller files and convert to comma delimited using PHP.
>
> Now, I can replace the tabs with commas and open
On Feb 18, 2008 11:18 AM, Petrus Bastos <[EMAIL PROTECTED]> wrote:
> Wolf,
>
> I thank your help! I have all zip methods available, but don't have any
> method that generate password protected zip file.
In all honesty, Petrus, since none of the suggestions made to you
will work in your sit
On Mon, 2008-02-18 at 05:20 -0800, Hiep Nguyen wrote:
> On Mon, 18 Feb 2008, Graham Cossey wrote:
>
> > I was wondering if someone could offer some advice please.
> >
> > I'm being sent data in tab delimited files which I'm trying to split
> > into smaller files and convert to comma delimited usi
On Mon, February 18, 2008 6:59 am, julian wrote:
> I have an application that along filling in some forms, it produces a
> pdf file, as confirmation of all entered data.
>
> I want to send this pdf file to a different window/tab of the browser,
> so it is displayed and can latter be printed.
>
> I
On Mon, February 18, 2008 10:36 am, Jay Blanchard wrote:
> [snip]
> That's funny... MS defaults to tabs for a file whose extension is .csv
> which is an acronym for (C)omma (S)eparated (V)alues.
> [/snip]
>
> Welcome to Microsoftwhere do we want you to go today?
I think it defaults to whatever
On Mon, February 18, 2008 7:11 am, Graham Cossey wrote:
> I was wondering if someone could offer some advice please.
>
> I'm being sent data in tab delimited files which I'm trying to split
> into smaller files and convert to comma delimited using PHP.
>
> Now, I can replace the tabs with commas
> On Mon, February 18, 2008 10:36 am, Jay Blanchard wrote:
> > [snip]
> > That's funny... MS defaults to tabs for a file whose extension is .csv
> > which is an acronym for (C)omma (S)eparated (V)alues.
> > [/snip]
> >
> > Welcome to Microsoftwhere do we want you to go today?
>
> I think it de
On Sun, February 17, 2008 1:57 pm, Nick Stinemates wrote:
> Petrus Bastos wrote:
>> Hi Nick,
>>
>> Sorry, but I forgot to tell you that I can't use this exec
>> neither
>> system commands because they are disabled for security precautions.
>> So, Do
>> you have any other ideas on how can I do t
On Mon, February 18, 2008 5:59 am, Petrus Bastos wrote:
> 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:
> t
Daniel,
But I can install PEAR/PECL modules, but I didn't see any module that do
what I want. Do you know any module that create password protected zip
files?
Thanks again,
Petrus Bastos.
On Feb 18, 2008 1:29 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Feb 18, 2008 11:18 AM, Petrus Bas
On Sun, February 17, 2008 9:34 am, Valedol wrote:
> Is there a mothod to check string`s length with regex or the only way
> is
> using strlen?
>
> I want string consisting of 4 digits
> and check string with this code:
>
> if (preg_match("/\d{4}/",$_POST[id]))
> { echo $_POST[id]; }
>
> but preg_
On Sat, February 16, 2008 5:22 pm, Rob Gould wrote:
> I've got a PHP script that inserts "00012345678" into a record in a
> mySQL database (it's a barcode). Things work ok unless the number has
> preceding zeros, and then the zeros get cut off and all I get is
> "12345678".
>
> I have the mySQL da
On Sun, February 17, 2008 4:37 pm, nihilism machine wrote:
> i am using this code to get the extension of a filename:
>
> $extension = strtolower(strrchr($fileName,"."));
>
> how can i get the text BEFORE the . (period)
http://php.net/basename
--
Some people have a "gift" link here.
Know what I
On Sat, February 16, 2008 11:53 pm, Johny Burns wrote:
> I am having fields in my table where I put times like 4:30pm in string
> format
This is your first mistake...
Use time fields for time, so you can do time operations on time fields.
Otherwise, you are just re-inventing the wheel and re-wri
On Sat, February 16, 2008 2:31 pm, Adil Drissi wrote:
> I need help with sessions.
> I have a simple authentification relying only on
> sessions (i don't use cookies).
Do you mean that you are also using the "no_cookie" setting in PHP and
using the URL to pass around the session ID?
Or jut that y
On Fri, February 15, 2008 2:46 pm, nihilism machine wrote:
> this still does not work, if a domain has no preceeding www. it
> redirects to http://www.www.site.com, if it has a www. it goes to
> www.www.mydomain.com
> , any ideas?
Don't do that.
Some sites may or may not use www. for whatever rea
On Fri, February 15, 2008 6:42 pm, Michael McGlothlin wrote:
> Does anyone have a good method of supporting semaphores when PHP's
> System V IPC functions can't be enabled? I'm trying to implement
> locking
> for using shmop (actually modifying someone elses code) and it
> requires
> sysvmsg but my
Richard Lynch wrote:
> On Sun, February 17, 2008 1:57 pm, Nick Stinemates wrote:
>
>> Petrus Bastos wrote:
>>
>>> Hi Nick,
>>>
>>> Sorry, but I forgot to tell you that I can't use this exec
>>> neither
>>> system commands because they are disabled for security precautions.
>>> So, Do
>>
Petrus Bastos wrote:
> Richard,
>
> Unfortunately, I can't get out of the zip password rut because the
> destination system read only this file format. I can't change the
> destination system.
>
> Thanks,
> Petrus.
>
> On Feb 18, 2008 2:11 PM, Richard Lynch <[EMAIL PROTECTED]> wrote:
>
>
>>
On Feb 18, 2008 9:07 AM, Richard Lynch <[EMAIL PROTECTED]> wrote:
> On Sun, February 17, 2008 1:57 pm, Nick Stinemates wrote:
> > Petrus Bastos wrote:
> >> Hi Nick,
> >>
> >> Sorry, but I forgot to tell you that I can't use this exec
> >> neither
> >> system commands because they are disabled f
Richard,
Unfortunately, I can't get out of the zip password rut because the
destination system read only this file format. I can't change the
destination system.
Thanks,
Petrus.
On Feb 18, 2008 2:11 PM, Richard Lynch <[EMAIL PROTECTED]> wrote:
> On Mon, February 18, 2008 5:59 am, Petrus Ba
On Fri, February 15, 2008 12:54 am, Siegfried Gipp wrote:
> Am Donnerstag, 14. Februar 2008 21:01:42 schrieb Richard Lynch:
>
>> You could also consider filing a "Feature Request" in
>> http://bugs.php.net/
> Well, the bug reporting page has a bug. A graphical captcha is needed,
> but
> there is
On Thu, February 14, 2008 8:47 pm, Rob Gould wrote:
> Should I have used utf-8 instead?
Yes.
And you need to convince not only the MySQL server to use UTF-8, but
also the MySQL client compiled into your PHP to use UTF-8.
--
Some people have a "gift" link here.
Know what I want?
I want you to bu
Since you provide the suffice (extension) to basename, it's not
basename that's broken...
It's not knowing what extension you wanted to provide in the first
place...
On Mon, February 18, 2008 11:56 am, Nick Stinemates wrote:
> Richard Lynch wrote:
>> On Sun, February 17, 2008 4:37 pm, nihilism ma
On Feb 18, 2008 12:02 PM, Edward Kay <[EMAIL PROTECTED]> wrote:
>
> > On Mon, February 18, 2008 10:36 am, Jay Blanchard wrote:
> > > [snip]
> > > That's funny... MS defaults to tabs for a file whose extension is .csv
> > > which is an acronym for (C)omma (S)eparated (V)alues.
> > > [/snip]
> > >
>
Richard Lynch wrote:
> On Sat, February 16, 2008 11:53 pm, Johny Burns wrote:
>
>> I am having fields in my table where I put times like 4:30pm in string
>> format
>>
>
> This is your first mistake...
>
> Use time fields for time, so you can do time operations on time fields.
>
> Otherwise,
On Fri, February 15, 2008 8:54 am, Eric Butera wrote:
> On Thu, Feb 14, 2008 at 3:52 PM, Richard Lynch <[EMAIL PROTECTED]> wrote:
>>
>>
>> On Mon, February 11, 2008 9:59 am, Eric Butera wrote:
>> > On Feb 11, 2008 10:44 AM, Per Jessen <[EMAIL PROTECTED]> wrote:
>> >> Eric Butera wrote:
>> >>
>>
On Sat, February 16, 2008 6:03 am, Yuval Schwartz wrote:
> Hello,
>
> Can you please help me, I am writing code where I create a file and
> write to
> it from a form on a webpage and then read and display this file on the
> webpage.
> I want to change the color of the text that is written to the
If IE does anything other than a file download with
application/octet-stream, it's very broken indeed...
Does your URL end in .xml?
Often IE "assumes" the Content-type is not correct, and runs with the
idea that the end of the URL in 8.3 notation is what the file REALLY
is.
On Fri, February 15,
On Feb 18, 2008 5:23 PM, Andrew Ballard <[EMAIL PROTECTED]> wrote:
>
> On Feb 18, 2008 12:02 PM, Edward Kay <[EMAIL PROTECTED]> wrote:
>
> >
> > > On Mon, February 18, 2008 10:36 am, Jay Blanchard wrote:
> > > > [snip]
> > > > That's funny... MS defaults to tabs for a file whose extension is .csv
>
On Fri, February 15, 2008 10:03 am, Shawn McKenzie wrote:
> Brian Dunning wrote:
>>> Isn't it enough to send it with Content-Type:
>>> application/octet-stream ?
>
> Do you want the user to download the file? Try using:
> 'Content-Disposition: attachment; filename="..."'
Apologies in advance to o
On Feb 18, 2008 1:08 PM, Graham Cossey <[EMAIL PROTECTED]> wrote:
> My biggest gripe with tab delimited files is
> that they are quite a bit bigger than comma delimited files so I may
> have to split the large files I receive into smaller 'chunks' to allow
> them to be uploaded.
>
>
Why would tab-
Richard Lynch wrote:
> On Sun, February 17, 2008 4:37 pm, nihilism machine wrote:
>
>> i am using this code to get the extension of a filename:
>>
>> $extension = strtolower(strrchr($fileName,"."));
>>
>> how can i get the text BEFORE the . (period)
>>
>
> http://php.net/basename
>
>
Fun
On Feb 18, 2008 1:39 PM, Robert Cummings <[EMAIL PROTECTED]> wrote:
>
> On Mon, 2008-02-18 at 13:24 -0500, Andrew Ballard wrote:
> > On Feb 18, 2008 1:08 PM, Graham Cossey <[EMAIL PROTECTED]> wrote:
> >
> > > My biggest gripe with tab delimited files is
> > > that they are quite a bit bigger than
On Mon, 2008-02-18 at 13:24 -0500, Andrew Ballard wrote:
> On Feb 18, 2008 1:08 PM, Graham Cossey <[EMAIL PROTECTED]> wrote:
>
> > My biggest gripe with tab delimited files is
> > that they are quite a bit bigger than comma delimited files so I may
> > have to split the large files I receive into
julian wrote:
>
>
> Hi,
>
> I have an application that along filling in some forms, it produces a
> pdf file, as confirmation of all entered data.
>
> I want to send this pdf file to a different window/tab of the browser,
> so it is displayed and can latter be printed.
>
> In the mean time, t
Hey folks,
I got access to exec method for test! But, it's not working... :( the
function returns 127 and don't create the zip file, I've tested on Linux
command tool and works! Do you have any idea why didn't work?
Thanks again and sorry for the inconvenience,
Petrus Bastos.
On Feb 18, 2008
Petrus Bastos wrote:
> Hey folks,
>
>I got access to exec method for test! But, it's not working... :(
> the function returns 127 and don't create the zip file, I've tested on
> Linux command tool and works! Do you have any idea why didn't work?
>
> Thanks again and sorry for the inconvenience
At 1:59 PM +0100 2/18/08, julian wrote:
Hi,
I have an application that along filling in some forms, it produces
a pdf file, as confirmation of all entered data.
I want to send this pdf file to a different window/tab of the
browser, so it is displayed and can latter be printed.
In the mean
At 5:56 PM -0500 2/17/08, Daniel Brown wrote:
On Feb 17, 2008 5:37 PM, nihilism machine <[EMAIL PROTECTED]> wrote:
i am using this code to get the extension of a filename:
> $extension = strtolower(strrchr($fileName,"."));
how can i get the text BEFORE the . (period)
You can STFW an
[snip]
if i declare an instance of a class in the top of my php file, then
have html, then later on user $myClassInstance->myMethod(); --
myMethod() does not execute, only when i have the instantiation of the
class right before the call to the method does it work. any ideas?
[/snip]
You are
I'm testing on FreeBSD. I can use any command through system(), but the zip
command doesn't works! I don't know why.
On Feb 18, 2008 4:06 PM, Nick Stinemates <[EMAIL PROTECTED]> wrote:
> Petrus Bastos wrote:
> > Hey folks,
> >
> >I got access to exec method for test! But, it's not working...
if i declare an instance of a class in the top of my php file, then
have html, then later on user $myClassInstance->myMethod(); --
myMethod() does not execute, only when i have the instantiation of the
class right before the call to the method does it work. any ideas?
-e
--
PHP General Mai
Børge Holen wrote:
> On Monday 18 February 2008 00:10:30 John Meyer wrote:
>> Daniel Brown wrote:
>>> On Feb 17, 2008 5:37 PM, nihilism machine <[EMAIL PROTECTED]>
> wrote:
i am using this code to get the extension of a filename:
$extension = strtolower(strrchr($fileName,"."));
[snip]
I'm testing on FreeBSD. I can use any command through system(), but the
zip
command doesn't works! I don't know why.
[/snip]
Have you tried the command from the command line without PHP to make
sure it works?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
There is any form of detect signal interrupting the stream_select call,
some times a signal is not a error and there is other change to get the
result, so if *_select tell me if its interruptded by signal.
in socket_select i can determine if a signal interrupted the
socket_select, but streams
Jay Blanchard wrote:
> [snip]
> if i declare an instance of a class in the top of my php file, then
> have html, then later on user $myClassInstance->myMethod(); --
> myMethod() does not execute, only when i have the instantiation of the
> class right before the call to the method does it wor
Yes.
On Feb 18, 2008 5:50 PM, Jay Blanchard <[EMAIL PROTECTED]> wrote:
> [snip]
> I'm testing on FreeBSD. I can use any command through system(), but the
> zip
> command doesn't works! I don't know why.
> [/snip]
>
> Have you tried the command from the command line without PHP to make
> sure it w
zip program is installed. I'd type whereis and returned
/usr/ports/archivers/zip. I've change my zip command and put th whole path.
Now return error 126. :(
On Feb 18, 2008 5:51 PM, Stut <[EMAIL PROTECTED]> wrote:
> Petrus Bastos wrote:
> > I'm testing on FreeBSD. I can use any command through sy
Shawn McKenzie wrote:
> Petrus Bastos wrote:
>> zip program is installed. I'd type whereis and returned
>> /usr/ports/archivers/zip. I've change my zip command and put th whole path.
>> Now return error 126. :(
>>
>> On Feb 18, 2008 5:51 PM, Stut <[EMAIL PROTECTED]> wrote:
>>
>>> Petrus Bastos wrot
On Feb 18, 2008 4:05 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
> Umm, it's been a while for me on BSD, but isn't
> '/usr/ports/archivers/zip' a directory holding sources to build zip?
Yes, Shawn, you're correct. Ports are (on BSD and MacOS) for
automated installations like DEBs and RPMs o
Unfortunately, I don't have access to root user here. It was a miracle get
access to system command. I have to resolve this problem without root user.
:(
On Feb 18, 2008 6:08 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
> Shawn McKenzie wrote:
> > Petrus Bastos wrote:
> >> zip program is install
Ok. I've tried the command again and returned /usr/local/bin/zip... but
return the same error...
On Feb 18, 2008 6:13 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
> Petrus Bastos wrote:
> > Unfortunately, I don't have access to root user here. It was a miracle
> get
> > access to system command.
On 2/18/08, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
> cd /usr/ports/archivers/zip
> make install clean zip
pkg_add -r zip
done.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Petrus Bastos <[EMAIL PROTECTED]> wrote:
> I'm testing on FreeBSD. I can use any command through system(), but the zip
> command doesn't works! I don't know why.
>
>
According to Google:
http://www.google.com/search?q=php%3A+exec+zip+error+127&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-US:o
On Feb 18, 2008 6:45 PM, Andrew Ballard <[EMAIL PROTECTED]> wrote:
> On Feb 18, 2008 1:39 PM, Robert Cummings <[EMAIL PROTECTED]> wrote:
>
> >
> > On Mon, 2008-02-18 at 13:24 -0500, Andrew Ballard wrote:
> > > On Feb 18, 2008 1:08 PM, Graham Cossey <[EMAIL PROTECTED]> wrote:
> > >
> > > > My bigges
Jay Blanchard wrote:
> [snip]
> if i declare an instance of a class in the top of my php file, then
> have html, then later on user $myClassInstance->myMethod(); --
> myMethod() does not execute, only when i have the instantiation of the
> class right before the call to the method does it wor
Petrus Bastos wrote:
I'm testing on FreeBSD. I can use any command through system(), but the zip
command doesn't works! I don't know why.
Is zip installed? AFAIK it's not by default.
Do a system('whereis zip'); to see.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.ne
nihilism machine wrote:
if i declare an instance of a class in the top of my php file, then have
html, then later on user $myClassInstance->myMethod(); -- myMethod()
does not execute, only when i have the instantiation of the class right
before the call to the method does it work. any ideas?
Greg Donald wrote:
> On 2/18/08, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
>> cd /usr/ports/archivers/zip
>> make install clean zip
>
> pkg_add -r zip
>
> done.
>
>
Sure, if you want to miss all the linker and compiler goodies :-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
Petrus Bastos wrote:
> Unfortunately, I don't have access to root user here. It was a miracle get
> access to system command. I have to resolve this problem without root user.
> :(
>
> On Feb 18, 2008 6:08 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
>
>> Shawn McKenzie wrote:
>>> Petrus Bastos
I'd look at parameters and my command is ok.
On Feb 18, 2008 5:51 PM, Nick Stinemates <[EMAIL PROTECTED]> wrote:
> Petrus Bastos wrote:
> > I'm testing on FreeBSD. I can use any command through system(), but the
> zip
> > command doesn't works! I don't know why.
> >
> >
> > On Feb 18, 2008 4:06 P
Petrus Bastos wrote:
> zip program is installed. I'd type whereis and returned
> /usr/ports/archivers/zip. I've change my zip command and put th whole path.
> Now return error 126. :(
>
> On Feb 18, 2008 5:51 PM, Stut <[EMAIL PROTECTED]> wrote:
>
>> Petrus Bastos wrote:
>>> I'm testing on FreeBSD
Petrus Bastos wrote:
> I'm testing on FreeBSD. I can use any command through system(), but the zip
> command doesn't works! I don't know why.
>
>
> On Feb 18, 2008 4:06 PM, Nick Stinemates <[EMAIL PROTECTED]> wrote:
>
>
>> Petrus Bastos wrote:
>>
>>> Hey folks,
>>>
>>>I got access to ex
Actually, I don't know anything about FreeBSD. I never used this system.
But, here my zip command works fine at command line, why doesn't works with
PHP?
On Feb 18, 2008 6:28 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
> Greg Donald wrote:
> > On 2/18/08, Shawn McKenzie <[EMAIL PROTECTED]>
Petrus Bastos <[EMAIL PROTECTED]> wrote:
> Actually, I don't know anything about FreeBSD. I never used this system.
> But, here my zip command works fine at command line, why doesn't works with
> PHP?
>
>
Have you talked with your server admins about the use of zip? Sounds like you
Petrus Bastos <[EMAIL PROTECTED]> wrote:
> Wolf,
>
> I'm sure actually working from the command line.
>
> > /usr/local/bin/zip -P t.zip biblioteca.php
> adding: biblioteca.php (deflated 73%)
> >
>
>
> On Feb 18, 2008 6:37 PM, Wolf <[EMAIL PROTECTED]> wrote:
>
> >
> > Pet
Greg Donald wrote:
> On 2/18/08, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
>> Sure, if you want to miss all the linker and compiler goodies :-)
>
> I'm guessing that'd be non-issue for an obviously inexperienced FreeBSD user.
>
>
But I'm guessing he'd think it was cool. Also, he's not root so I
On 2/18/08, Petrus Bastos <[EMAIL PROTECTED]> wrote:
> Error: FTP Unable to get
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/zip.tbz:
> File unavailable (e.g., file not found, no access)
> pkg_add: unable to fetch
> 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packag
Wolf,
I'm sure actually working from the command line.
> /usr/local/bin/zip -P t.zip biblioteca.php
adding: biblioteca.php (deflated 73%)
>
On Feb 18, 2008 6:37 PM, Wolf <[EMAIL PROTECTED]> wrote:
>
> Petrus Bastos <[EMAIL PROTECTED]> wrote:
> > Actually, I don't know anyth
Error: FTP Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/zip.tbz:
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch '
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/zip.tbz'
by URL
:(
On Feb 18, 2008 6:17
Petrus Bastos wrote:
Actually, I don't know anything about FreeBSD. I never used this system.
But, here my zip command works fine at command line, why doesn't works with
PHP?
Is "here" the server or your local machine? If zip works fine on the
command line on the server then it's installed
On Feb 18, 2008 4:01 PM, Graham Cossey <[EMAIL PROTECTED]> wrote:
> On Feb 18, 2008 6:45 PM, Andrew Ballard <[EMAIL PROTECTED]> wrote:
> > On Feb 18, 2008 1:39 PM, Robert Cummings <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > On Mon, 2008-02-18 at 13:24 -0500, Andrew Ballard wrote:
> > > > On Feb 18,
On 2/18/08, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
> Sure, if you want to miss all the linker and compiler goodies :-)
I'm guessing that'd be non-issue for an obviously inexperienced FreeBSD user.
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsu
I've tried. returned
Array
(
)
127
On Feb 18, 2008 6:58 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Feb 18, 2008 4:55 PM, Petrus Bastos <[EMAIL PROTECTED]> wrote:
> > system("/usr/local/bin/zip -P t.zip biblioteca.php",$ret_val);
> >
> > that's my code and even zip with full pat
Shawn McKenzie wrote:
> Jay Blanchard wrote:
>
>> [snip]
>> if i declare an instance of a class in the top of my php file, then
>> have html, then later on user $myClassInstance->myMethod(); --
>> myMethod() does not execute, only when i have the instantiation of the
>> class right before
Petrus Bastos <[EMAIL PROTECTED]> wrote:
> system("/usr/local/bin/zip -P t.zip biblioteca.php",$ret_val);
>
> that's my code and even zip with full path, return $ret_val = 127;
>
> On Feb 18, 2008 6:43 PM, Wolf <[EMAIL PROTECTED]> wrote:
>
> >
> > Petrus Bastos <[EMAIL PROTECTED
Results the same thing.
On Feb 18, 2008 6:59 PM, Wolf <[EMAIL PROTECTED]> wrote:
>
> Petrus Bastos <[EMAIL PROTECTED]> wrote:
> > system("/usr/local/bin/zip -P t.zip biblioteca.php",$ret_val);
> >
> > that's my code and even zip with full path, return $ret_val = 127;
> >
> > On Feb 18,
system("/usr/local/bin/zip -P t.zip biblioteca.php",$ret_val);
that's my code and even zip with full path, return $ret_val = 127;
On Feb 18, 2008 6:43 PM, Wolf <[EMAIL PROTECTED]> wrote:
>
> Petrus Bastos <[EMAIL PROTECTED]> wrote:
> > Wolf,
> >
> > I'm sure actually working from t
On Feb 18, 2008 4:55 PM, Petrus Bastos <[EMAIL PROTECTED]> wrote:
> system("/usr/local/bin/zip -P t.zip biblioteca.php",$ret_val);
>
> that's my code and even zip with full path, return $ret_val = 127;
Try this instead:
\n";
print_r($ret);
echo "\n";
echo "\n";
print_r($err);
echo "\n";
I've tried without success...
system("/usr/local/bin/zip -P
/.automount/ipojuca/export/homeg03/golapa/public_html/mapdenguepe128/site/php/biblioteca/t.zip
/.automount/ipojuca/export/homeg03/golapa/public_html/mapdenguepe128/site/php/biblioteca/biblioteca.php",$ret_val);
On Feb 18, 2008 7:16
1 - 100 of 125 matches
Mail list logo