title: How to return success info from script in PHP
body: <p>I have a page that sends a form to a PHP script. I would like to somehow return success information to the page when the script executes. Now I can't use jQuery AJAX requests since my form submits files to the server and I would like to avoid appending get parameters to the url if possible.</p>
  
  <p>I tried doing this: </p>
  
  <pre><code>$_REQUEST['status'] = 'File uploaded successfully';
  </code></pre>
  
  <p>But when I check whether this variable is set on my page, I get false.</p>
  
  <p>What is the best practice to do this?</p>