[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: perl and apache



----- Original Message -----
From: Ravi Prakash B.V. <ravibv@xxxxxxxxxxxxxxxx>


>
> hi  chetu,
> The notation is correct but the usage of gzip is wrong.
> Modified code is:
> < begin of file 1.pl>
>
> #!/usr/bin/perl
> push ( @list, "gzip");
> push ( @list, "-c");
> push ( @list, "*");
> push ( @list, ">zipfile.gz");
>
> exec "@list";
>
> <end of file 1.pl>
>
> This code will compress all the files in the curent directory and store
into
> zipfile.gz.

current directory ?? which is the current directory when i am running it in
apache server ?? cgi-bin ?? public_html ??


thanks for the corrections.

- chetu