-
loadVariables problem
heres the code:
_root.username = _root.adminlogin.username;
_root.pass = _root.adminlogin.pass;
loadVariables("/admin.php?username="+username+"&password="+pass,"" ,"POST");
here's the error:
Error opening URL "/admin.php?username=_level0.adminlogin.username&pas sword=_level0.adminlogin.pass"
the URL exists. the PHP works.
how can i send the contents of the input fields (username/pass) to the php file without that _level0.adminlogin. garbage?
-
loadVariables(""/admin.php","","POST");
this should work.....if not make sure the variables are in the same level as the above script.
eg
username=_level0.adminlogin.username;
password=_level0.adminlogin.pass;
-
i tried this, and it s till sends the bogus link to the php.
"/admin.php?username=_level0.adminlogin.username&pas sword=_level0.adminlogin.pass"
all i want to do is send the content of the input fields to the php, but it sends it the name. ive been stuck for a while on this and im all out of ideas.
-
-
:D
i just figured out what i was doing wrong.
i have to pass it username.text and password.text.
thanks for your help, much appreciated.
-
Hmm....ok....not sure what you mean....glad you sorted it anyway.