title: Paypal return variables on success page
body: <p><strong>WHAT I AM TRYING TO DO</strong>
  I am simply trying to display the results of a Paypal subscription signup. I see the issue of not being able to see the POST variables is a common issue.</p>
  
  <p>I have tried many different ways to do this and I see a common solution is to use:</p>
  
  <p><code>&lt;input id="rm" name="rm" type="hidden" value="2"&gt;</code></p>
  
  <p>This does not work.</p>
  
  <p>I have tried emailing myself $_POST and $_REQUEST variables and they are empty.</p>
  
  <p>However, my code that detects the txn_type $_POST variable works, since my variables appear in my database. After writing to the database, it is supposed to show a receipt, but does not.</p>
  
  <p>Here's the button code:</p>
  
  <pre><code>&lt;form action="https://www.paypal.com/cgi-bin/webscr" method="post"&gt;
  
  &lt;!-- Identify your business so that you can collect the payments. --&gt;
  &lt;input type="hidden" name="business" value="paypalemail@gmail.com"&gt;
  
  &lt;!-- Specify a Subscribe button. --&gt;
  &lt;input type="hidden" name="cmd" value="_xclick-subscriptions"&gt;
  &lt;!-- Identify the subscription. --&gt;
  &lt;input type="hidden" name="item_name" value="Monthly Featured Listings"&gt;
  &lt;input type="hidden" name="item_number" value="1"&gt;
  
  &lt;!-- Set the terms of the regular subscription. --&gt;
  &lt;input type="hidden" name="currency_code" value="USD"&gt;
  &lt;input type="hidden" name="a3" value="0.01"&gt;
  &lt;input type="hidden" name="p3" value="1"&gt;
  &lt;input type="hidden" name="t3" value="M"&gt;
  &lt;input type="hidden" name="rm" value="2"&gt;
  
  &lt;!-- Set recurring payments until canceled. --&gt;
  &lt;input type="hidden" name="src" value="1"&gt;                          
  &lt;input name="notify_url" value="http://www.example.com/user/register/index.php" type="hidden"&gt;
   &lt;input name="return" value="http://www.example.com/user/register/index.php" type="hidden"&gt;
  &lt;input name="cancel_return" value="http://www.example.com/user/register/index.php?payment=cancelled" type="hidden"&gt;
  &lt;!-- Display the payment button. --&gt;
  &lt;input type="image" name="submit" border="0" src="http://www.example.com/images/register-and-pay-now.png" alt="PayPal - The safer, easier way to pay online"&gt;
   &lt;img alt="" border="0" width="1" height="1" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif"&gt;
  </code></pre>
  
  <p></p>
  
  <p>Since my database code works, I can only guess that Paypal is sending the information correctly, but I can't get it to show up in the web page.</p>
  
  <p><strong>My QUESTION</strong>
  How can I show successful $_POST variables in my page after the redirect?</p>