vozzek Posted January 4, 2008 Share Posted January 4, 2008 Hi everyone, Can someone tell me the command to print out all variables posted to a particular php page? Specifically, PayPal is returning me to my 'success.php' page and I'd like to know exactly which variables are being passed/posted back to me (and more importantly, which ones are not). I thought I knew this a few weeks ago, but can't find it anywhere. Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/84487-solved-10-second-question/ Share on other sites More sharing options...
marcus Posted January 4, 2008 Share Posted January 4, 2008 <?php foreach($_POST AS $key->$val){ echo $key . " has the value of " . $val . "<br>\n"; } ?> Link to comment https://forums.phpfreaks.com/topic/84487-solved-10-second-question/#findComment-430431 Share on other sites More sharing options...
vozzek Posted January 4, 2008 Author Share Posted January 4, 2008 That totally rocks, thank you! Link to comment https://forums.phpfreaks.com/topic/84487-solved-10-second-question/#findComment-430432 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.