Skip to content

Instantly share code, notes, and snippets.

@Dreamka
Created December 30, 2014 19:56
Show Gist options
  • Save Dreamka/168f355bb527e9e37f40 to your computer and use it in GitHub Desktop.
Save Dreamka/168f355bb527e9e37f40 to your computer and use it in GitHub Desktop.
ajax.php
<?php
include_once ("http_request.php");
$data = $_GET;
print_r( http_request(array(
'url'=>"https://pddimp.yandex.ru/reg_user_token.xml?".
"token=" . $data['token'] . "&" .
"u_login=" . $data['u_login'] . "&" .
"u_password=" . $data['u_password']
)
) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment