Thanks guys, another quick question is,

In a tutorial i seen them put a _root in the first arrgument instead of "" whats the difference?

so this

Code:
getURL("https://www.domainName/login.php?username=vari&password=var&email=var", "", "POST");
change to this.

Code:
getURL("https://www.domainName/login.php?username=vari&password=var&email=var", _root, "POST");