Home > Backend Development > PHP Tutorial > 请问一个原理有关问题

请问一个原理有关问题

WBOY
Release: 2016-06-13 12:42:48
Original
935 people have browsed it

请教一个原理问题

function submit_login(e)<br />
{<br />
    if (typeof e != 'undefined' && !enter_key_trap(e)) {<br />
        return;<br />
    }<br />
<br />
    if (document.horde_login.horde_user.value == "") {<br />
        alert("<?php echo addslashes(_("Please provide your username and password")) ?>");<br />
        document.horde_login.horde_user.focus();<br />
        return false;<br />
    } else if (document.horde_login.horde_pass.value == "") {<br />
        alert("<?php echo addslashes(_("Please provide your username and password")) ?>");<br />
        document.horde_login.horde_pass.focus();<br />
        return false;<br />
    } else {<br />
        document.horde_login.loginButton.disabled = true;<br />
<?php if (!empty($ie_clientcaps)): ?><br />
        try {<br />
            document.horde_login.ie_version.value = objCCaps.getComponentVersion("{89820200-ECBD-11CF-8B85-00AA005B4383}", "componentid");<br />
        } catch (e) {<br />
        }<br />
<?php endif; ?><br />
        document.horde_login.submit();<br />
        return true;<br />
    }<br />
}
Copy after login
请问这两个用户名密码的表单如何提交到后台php的

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template