hello
in my application, I send an email in an after event record ( add page ). I need the user to reply to this mail and says if agree or disagree with it ( basicly i send a pre-order mail and manager reply "agree" or disagree" so then the order is placed or not ).
Im gonna do a php script linked to a mail box : the script is lauch each time it receives a mail and parse the content and based on what it parses insert/update database record.
What i need to know is how can i use same"functions" as in an event page ? because this script is part of the phprunner application even though it's manually made.
BEcause my script will have to insert/update mysql records besides parsing i need to know what to " require" or "define" to use same language as in phprunner event page. ex: $sql="something.."
require "dbconnection.php"?
thank you.