twhiting9275 Posted February 28, 2018 Share Posted February 28, 2018 So, a pretty basic hook here, trying to capture form (or post) activity. Example: Login failure <?php add_hook('ClientAreaPage', 1, function($vars) { print_r($_POST); die(); }); The ultimate goal is to get the output on those fields, put them into a smarty variable (to deal with later), and then move from there. The problem? Even though this code should print out the post field, and does in every other php form I've worked with (pretty simple really), it fails here, just simply spits out Array ( ) No information on the array (I know it should be an array), what it is, or the information in the array, just Array ( ) This is likely something incredibly stupid that I'm missing, one of those 'you need a second pair of eyes' things, but what the ************ am I missing here? Link to comment Share on other sites More sharing options...
twhiting9275 Posted February 28, 2018 Author Share Posted February 28, 2018 nvm, moving on... Can't do what I want that way anyways, bah. Link to comment Share on other sites More sharing options...
Recommended Posts