title: PHP send data to some other webpage
body: <p>I want to have a script on one website and database on other website.</p>
  
  <p>First website has 2 fields where they enter username and password. Then php posts username/password to other php file and that php does <em>something</em> and then somehow sends the data to my second website, where I insert username and password to MySql database.</p>
  
  <p>So I can do everything except:</p>
  
  <p>I have 2 variables in PHP file, and I want to send them to other webpage, which gets them with maybe $_POST ? Also posting should be automatic, so the script posts them itself not via button press. How to do it?</p>
  
  <p>Is my question clear? I can explain.</p>
  
  <p>Thanks.</p>