[jQuery] $_GET instead $_POST

[jQuery] $_GET instead $_POST


Hi,
i want to post some data to a php script but always variables send to
server as $_GET.
for example:
$.post("script.php" , {var : 'value'));
this code must sends $_POST['var'] to script.php, but it sends
$_GET['var'].
how can i solve it?
i want to use it for site login and i need send data as $_POST. is it
safe?
Thanks
AHHP