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?
Senior Member
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;
Last edited by Ex-Ess; 03-23-2003 at 07:45 AM .
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.
Senior Member
: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.
Senior Member
Hmm....ok....not sure what you mean....glad you sorted it anyway.
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width