Re: Gzipped output
| From: | Eric Butera | Date: | Mon, 11 Feb 2008 15:59:15 +0000 |
| Subject: | Re: Gzipped output | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-269092@lists.php.net to get a copy of this message | ||
On Feb 11, 2008 10:44 AM, Per Jessen <per@computer.org> wrote:
> Eric Butera wrote:
>
> >> I like it from a coding point of view (it's neat and elegant), but I
> >> don't think it achieves anything else than my initial suggestion of
> >> using exec(gzip -c).
> >>
> >
> > Except for that little thing where you shouldn't be using execs in
> > public facing code.
>
> Why not?
>
>
>
>
> /Per Jessen, Zürich
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
You should never use exec & friends when there is another way around
the problem. It is a security concern.