[thelist] any/all post data

Bob Meetin bobm at dottedi.biz
Mon Apr 20 18:20:41 CDT 2009

Jack Timmons wrote:
> On Sun, Apr 19, 2009 at 12:53 PM, Matt Warden <mwarden at gmail.com> wrote:
>> You could avoid the need to add an include to every page by simply
>> using a rewrite rule in .htaccess where you forward all traffic to
>> preprocess.php, do your thing, and then either buffer in the output of
>> the original request (for static files) or include() the script of the
>> original request (php files).
> Provided they have mod_rewrite enabled, or on a server you can do that on.
> I'd more suggest that they should already have a tool box included on
> every page to handle stuff like this. Also, if we're looking at
> mod_rewrite, there could be a better way of handling it depending on
> file structure. What would be wrong, after all, to just force all
> traffic to go through that file, and have that file include the
> requested one after it parses the data? Provided the POST and GET
> aren't being overwritten, it shouldn't cause any issues (that I can
> see, at least).
==>> mod_rewrite is enabled so with a little advice here/there the sky's 
the limit; chances are I won't have any time until this weekend or so to 
re-engage.  Again, I can work with arrays but they're not my best 
friend, so I may bug y'all for an example here/there.  Perhaps a nudge...

Thx, Bob

More information about the thelist mailing list