On Thu, 2010-07-01 at 09:48 +0100, Peter Bates wrote: > When the template is displayed I guess the PF box knows the MAC address of > the requester so it can match a specific id (i.e. the instance of that > particular vid) and as it is all just PHP I could put in some code to look > up the details via MySQL - I was just looking for examples or whether > there's an easier interface to look up.
Think that's probably the best you'll get. It's redir.pl that looks up the violation and redirects the user to the URL in violations.conf - no data is passed across beyond what's in the URL. You can of course point the URL somewhere other than index.php; it might be easier to use a perl script - at least that way you can use lib/pf/violation.pm to access the violation info rather than querying mysql directly. -- Robert Kerr ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Packetfence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
