[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CGI apps in C?
- To: Danial Thom <danial_thom_(_at_)_yahoo_(_dot_)_com>
- Subject: Re: CGI apps in C?
- From: Mark Bucciarelli <mark_(_at_)_gaiahost_(_dot_)_coop>
- Date: Fri, 14 Jul 2006 17:16:40 -0400
- Cc: freebsd-isp_(_at_)_freebsd_(_dot_)_org, David Rhodus <drhodus_(_at_)_machdep_(_dot_)_com>
- Mail-followup-to: Danial Thom <danial_thom_(_at_)_yahoo_(_dot_)_com>, David Rhodus <drhodus_(_at_)_machdep_(_dot_)_com>, freebsd-isp_(_at_)_freebsd_(_dot_)_org
On Fri, Jul 14, 2006 at 02:00:32PM -0700, Danial Thom wrote:
> The first thing you need is a good cgiparse() routine that
> handles all the GET POST variants, forms, multipart forms, etc.
> Its a pain in the butt in 'C'.
There's lots of these libs. uncgi is one I like pretty
well--just sticks cgi vars into envirnoment.
And actually, I found a few form2mail scripts. After posting, I
did some proper googling.
I'm more worried about things like DOS from a bogus content
length header and spam via mail header injection and of course
buffer overflows. So I'd still be interested if folks here have
scripts they have audited and like.
> php isn't half bad, and it has all the ugly stuff built in. You
> might get your clothes a bit cleaner with the rock and stream
> method, but use the washing machine. In the long run you'll be
> glad you did.
heh.
I think a closer analogy is building a house from stone not
sticks.
m
_______________________________________________
freebsd-isp_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org