Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>very basic and simple way is using <strong>httpRequest</strong> by <strong>java script</strong> and get returned value from site X and if match submit data to any php file in site Y. if you like to know I can send an example to help you.</p> <p>this way is more user friendly but need client side process. other way is use get content function.</p> <p><strong>other way:</strong></p> <p>you can use <strong>get.php</strong> file on site Y and submit data to <strong>get.php</strong> .</p> <p>in <strong>get.php</strong> file use the <strong>file_get_content</strong> function and submit username data by get method ( add to the end of url like example ) then check the returned value ( true or false )</p> <p>example : </p> <pre><code>$SubmittedEmail = $_POST['email']; $SubmittedPassword = $_POST['password']; $homepage = file_get_contents("http://www.example.com/x.php?email=SubmittedEmail &amp;password=$SubmittedPassword&amp;...[other parameters]"); </code></pre> <p>on www.x.com/x.php</p> <p>you can get email and password by get method and echo the result.</p> <p>returnet value in <strong>$hompage</strong> is the result of x.php file on site x (true or false or any thing you echo on site x file x.php)</p> <p>on site x.com/x.php do like this to get data and return result to y site:</p> <pre><code> $SubmittedEmail = $_GET['email']; $SubmittedPassword = $_GET['password']; if ( ($SubmittedEmail == $CrossReferenceEmail) &amp;&amp; ($SubmittedPassword == $CrossReferencePassword) ) { echo 'true'; } else { echo 'false'; } </code></pre> <p>more help on: <a href="http://php.net/manual/en/function.file-get-contents.php" rel="nofollow">http://php.net/manual/en/function.file-get-contents.php</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload