Topic: i got some problem to find variables
Hi, i try to send a mail with some information when user tryes to edit a post and submit post modificated.
I find the following data:
1 - original message -> $cur_post['message']
2 - original subject of the post -> $cur_post['subject']
Now i'm trying (and i didn't find yet) variables for:
1 - post url ... maybe 'f.redirect_url'? to send the link by mail
2 - username that change the post ... maybe $pun_user['username']?
After i find that i want to send an "hidden to user" mail to administrator/moderator using php mail function when i confirm the submit button on edit.php.
<form id="edit" method="post" action="edit.php?id=<?php echo $id ?>&action=edit" onsubmit="return process_form(this)">
How can i add another function on "submit" event?
Thank you and sorry for my "terrible" english language