Feb 24th, 2012, 3:14 PM
Hey Marty,
Exactly, that's how I'd approach it. It's a pretty custom situation, so there really isn't a way to handle it well from within the existing code.
In your file, just include the /global/library.php to get access to all the Form Tools functions. That may well help cut down on unnecessary code.
Regarding the two-way encryption, any idea how you'd approach that (PHP-wise)? Just curious: this is something that I've wondered about myself a couple of times. I haven't encountered any built-in encryption methods that aren't one-way. But you can probably do it right in the email template, similar to how to showed above.
Anyway, good luck with it!
- Ben
Quote:What I don't find very clear with formtools is how to go about doing the logic for receiving this URL call. My thinking was to just create a separate/independent php file that takes care of updating the value of a db entry which is all I need.
Exactly, that's how I'd approach it. It's a pretty custom situation, so there really isn't a way to handle it well from within the existing code.
In your file, just include the /global/library.php to get access to all the Form Tools functions. That may well help cut down on unnecessary code.
Regarding the two-way encryption, any idea how you'd approach that (PHP-wise)? Just curious: this is something that I've wondered about myself a couple of times. I haven't encountered any built-in encryption methods that aren't one-way. But you can probably do it right in the email template, similar to how to showed above.
Anyway, good luck with it!
- Ben