title: PHP script not receiving POST from website
body: <p>I'm having an issue with my PHP script where it is not receiving necessary POST data that is sent out from another web domain that I'm using. Essentially, what is happening is that I run and load script A which then sends a payload of POST data to script B and launches it, but script B does not receive anything from script A. </p>
  
  <p>The two scripts are on different domains (<a href="https://www.somethingA.com" rel="nofollow">https://www.somethingA.com</a> vs <a href="http://www.somethingB.com" rel="nofollow">http://www.somethingB.com</a>), so that is currently leading me to assume that it is a cross domain issue and is being blocked due to cross domain security restrictions. Is this the case here?</p>
  
  <p>Thanks all for your help.</p>
  
  <p>EDIT:</p>
  
  <p>Here is my code:</p>
  
  <p><strong>Script A</strong></p>
  
  <pre><code>&lt;form method="post" id="myform" name="myform" action="http://www.somethingB.com" enctype="application/x-www-form-urlencoded"&gt;
  &lt;input type="hidden" name="lis_result_sourcedid" value="9e45315-4566-351e"&gt;
  &lt;input type="hidden" name="lis_outcome_service_url" value="https://outcome-service-url.com"&gt;
  &lt;input type="hidden" name="lti_message_type" value="basic-lti-launch-request"&gt;
  &lt;input type="hidden" name="oauth_version" value="1.0"&gt;
  &lt;input type="hidden" name="oauth_nonce" value="974512358"&gt;
  &lt;input type="hidden" name="oauth_timestamp" value="1563511254"&gt;
  &lt;input type="hidden" name="oauth_signature_method" value="HMAC-SHA1"&gt;
  &lt;input type="hidden" name="oauth_consumer_key" value="print"&gt;
  &lt;input type="hidden" name="oauth_callback" value="about:blank"&gt;
  &lt;input type="hidden" name="oauth_signature" value="oaijAweiojawewfaw="&gt;
  &lt;input type="submit" name="basiclti_submit" value="Launch Endpoint with BasicLTI Data"&gt;
  &lt;/form&gt;
  &lt;/div&gt;
              &lt;script&gt;
                  document.getElementById('ltiLaunchFormSubmitArea').style.display = 'none';
                  nei = document.createElement('input');
                  nei.setAttribute('type', 'hidden');
                  nei.setAttribute('name', 'basiclti_submit');
                  nei.setAttribute('value', 'Launch Endpoint with BasicLTI Data');
                  document.getElementById('myform').appendChild(nei);
                  document.myform.submit();
              &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>...and Script B</strong></p>
  
  <pre><code>print_r($_REQUEST);
  </code></pre>