title: PHP post data to an HTTPS page
body: <p>I have a https page named user.php that gets data and posts it to another receiving.php https page. My problems is whenever I submit my data for posting the receiving.php displays server error. I have read articles about cURL but I don't have a clear picture of the syntax.</p>
  
  <p>user.php</p>
  
  <pre><code>&lt;form action="https://www.mydomain.com/ssl/receiving.php"&gt; 
  &lt;input type="text" name="variable" /&gt;
  &lt;input type="submit" name="buttonName" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>receving.php</p>
  
  <pre><code>if(isset($_POST["buttonName"]))
  {
  $variable=$_POST['variable'];
  
  }
  </code></pre>