What is the address for submitting the PHPCMS membership login form? Solution
Source: Internet
Author: User
What is the address for submitting the PHPCMS membership login form? What is the address for submitting the PHPCMS membership login form? This is the logon address of PHPCMS. http: // localhost/zyy/index. php? M = member & amp; c = index & amp; a = login what is the address for submitting the login form for the first PHPCMS member?
What is the address for submitting the PHPCMS membership login form?
This is the logon address of PHPCMS.
Http: // localhost/zyy/index. php? M = member & c = index & a = login
I want to create a login box on the homepage, but cannot find the submission address of the form.
The form action in the member login template is empty.
What should I write on the homepage?
------ Solution --------------------
The submission address is itself
Http: // localhost/zyy/index. php? M = member & c = index & a = login
You can set
Http: // localhost/zyy/index. php? M = member & c = index & a = login corresponding page form put on the home page, then change action = "" to "index. php? M = member & c = index & a = login ", which is basically acceptable, but is associated with js. And so on.
Do it well by using js.
The corresponding php file is in
In modules \ member, index. php has a login function.
Phpcms \ templates \ default \ memberstores the HTML page login.html
------ Solution --------------------
Submit
Http: // localhost/zyy/index. php? M = member & c = index & a = login
Multiple forms are submitted at the time of submission.
For synchronous submission, add a hidden domain
If ajax is used for one-step submission, transmit one more dosubmit parameter.
Data :{
// Your data
Dosubmit: 1
}
Please add the PHPCMS secondary development group 227319119
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.