I checked the following questions in case this is a duplicate, but they do not answer my question:
how-can-i-get-query-string-values
can-i-use-jquery-to-do-get-method-look-at-files-url
Those questions is about retrieve url by javascript. In this case is in PHP.
goServer({
url: 'checkuser.php?name='+name+'&password' + psw,
method: 'GET'
});
Everything goes fine, response fine. Except when in the target file (checkuser.php):
$name = $_GET['name']'; (also for other params)
it occurs error/warning that there is no index 'name' or 'password' in the $_GET variables.
Question: how to get URL data when ajax method is "GET" ?
Thank you
(OH MY.. Stupid error. It sent in GET
but written in target file $_POST['name']
)