[PHP-DEV] ANNOUNCE: libapreq-0.30_01 (fwd) From: Rasmus Lerdorf (rasmus <email protected>)
Date: 01/28/99

Guys, along with looking at a new regex library for PHP4, I think we also
need to seriously consider retiring the request parsing code that was
migrated untouched from PHP2 into PHP3. Doug has uncoupled his from
mod_perl and has a standalone request parsing library. Here is his
announcement:

---------- Forwarded message ----------
Date: Wed, 27 Jan 1999 22:40:00 -0800
From: Doug MacEachern <dougm <email protected>>
Reply-To: modperl <email protected>
To: modperl-announce <email protected>, apache-modules <email protected>
Cc: new-httpd <email protected>
Subject: [PHP-DEV] ANNOUNCE: libapreq-0.30_01

The URL

    http://perl.apache.org/dist/libapreq-0.30_01.tar.gz

has entered CPAN as

  file: $CPAN/authors/id/DOUGM/libapreq-0.30_01.tar.gz
  size: 24211 bytes
   md5: fa5620628bb2c3390099db98aff7677e

>From the README:

libapreq - Generic Apache Request Library

This package contains modules for manipulating client request data via
the Apache API with Perl and C. Functionality includes:

 - parsing of application/x-www-form-urlencoded data
 - parsing of multipart/form-data
 - parsing of HTTP Cookies

See libapreq.pod for the C API documentation and
eg/c/ for examples.

The Perl modules are simply a thin xs layer on top of libapreq,
making them a lighter and faster alternative to CGI.pm and
CGI::Cookie. See the Apache::Request and Apache::Cookie documentation
for more details and eg/perl/ for examples.

---

Changes since 0.20_01:

added ApacheRequest_script_name (r->uri minus r->path_info)

added eg/c/testapreq/Makefile.apxs

C sources *.[ch] moved to its own c/ directory (e.g. for easy cvs import)

fixed bug in ApacheRequest_parse_urlencoded (possible core dump on GET request)

allow `;' URI attribute delimiter as per HTML 4.0 spec

allow sub-classing via _r/r key mechanism

don't use $VERSION variable name in Makefile.PL param() now uses set() instead of add() [Andreas J. Koenig <andreas.koenig <email protected>>]

---

Enjoy, -Doug

-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>