That depends on what you are using to generate the page. ASP, Embperl, CGI (pure perl), or what ? You just need to create a routine with the above code wrapped in and call it from the page you want to trigger this email.
You might also want to add a handler in Apache (You're using Apache aren't you ?) but that's OT isn't it ;) ?
In reply to Re: Email on every page hit
by holo
in thread Email on every page hit
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |