title: echo POST array.. or other ideas?
body: <p><strong>Update:</strong></p>
  
  <p>As seen in the Original Questions below, I am looking to echo an array.
  The problem is that when I send the Moneris gateway to return a POST array to my new file (cart.php) it gets a 500 Internal Server Error.</p>
  
  <p>This is the same error I received when it send to the script, which should have worked.
  Is there any reason that it would always send a 500 Internal Server Error?</p>
  
  <p><a href="http://www.fastpixs.com/cgi-bin/cart.php" rel="nofollow noreferrer">Cart.php Direct Link</a></p>
  
  <p>Craig</p>
  
  <hr>
  
  <p>ORIGINAL QUESTION:</p>
  
  <p>Hello there,</p>
  
  <p>I am back for another question.</p>
  
  <p>Here is my dilemma:</p>
  
  <p>I have a script (ImageFolio Commerce) that hasn't been updated on our server since.. probably 2003. The script had a Payment Gateway (Moneris) manually added to it by the company who offers the script. This costs $1000 to get them to add a gateway.</p>
  
  <p>I now have a new client who purchased this business from the previous owner. While switching the account to the new owner's Moneris account, we found out that things have been updated.</p>
  
  <p><strong>Long story short..</strong></p>
  
  <p>The Moneris gateway can send 3 types of responses:</p>
  
  <ol>
  <li>POST with XML Data</li>
  <li>POST</li>
  <li>GET</li>
  </ol>
  
  <p>I imagine it is easiest to just use the POST array.
  I have the file that it sends the response to. As of now the file responds with a Internal Server error, but it <strong>does</strong> process the order.</p>
  
  <p>What I want to do is determine what the POST array is that is being sent, so that I can take it and echo it in a logical manner. Is there a way to capture and echo the entire POST?</p>
  
  <p>Or can someone suggest a better method of doing this?</p>
  
  <p>Thank you,</p>
  
  <p>Craig</p>