Родное ТВ - rodnoe.tv - что за зверь? (общее обсуждение)
urlhelper
urlhelper
function onAjaxSuccess(xml) ..... document.location = 'tv_gate.php?key='+tv_key+'&uid='+tv_uid+'&to='+tv_to;
<form action="http://core.rodnoe.tv/tv_root.php" method="post"> <input type="hidden" value="auth" name="cmd"> <input type="hidden" value="3ade44f14cfed8a065670c66a3dc9203" name="key"> <input type="hidden" value="1" name="idn"> <input type="submit" value="Вход" id="login-button">
<response> <err>ERR_BAD_REQ</err> </response>
<?php require_once('class.XMLHttpRequest.php'); $ajax = new XMLHttpRequest(); $ajax->open("POST","http://core.rodnoe.tv/tv_root.php" ); $ajax->send("cmd=auth&key=3f0109e73fd3a928c5a02979cbbb164c&idn=1"); if($ajax->status == 200){ echo $ajax->responseText; }else echo "ERROR: $ajax->status"; ?>
<?php require_once('class.XMLHttpRequest.php'); $ajax = new XMLHttpRequest(); $ajax->open("POST","http://core.rodnoe.tv/tv_root.php" ); $ajax->send("cmd=auth&key=3f0109e73fd3a928c5a02979cbbb164c&idn=1"); if($ajax->status == 200){ echo $ajax->responseText; }else echo "ERROR: $ajax->status"; ?>
Комментарий