PHP and Ajax combined to implement a small Demo of Logon verification, and phpajax combined with demo

Source: Internet
Author: User

PHP and Ajax combined to implement a small Demo of Logon verification, and phpajax combined with demo

AJAX is "Asynchronous Javascript And XML" (Asynchronous JavaScript And XML), which is a Web page development technology used to create interactive web applications.

AJAX = Asynchronous JavaScript and XML (Asynchronous JavaScript and XML ).
AJAX is not a new programming language, but a new method that uses existing standards.
AJAX is the art of exchanging data with the server and updating some webpages without reloading the entire page.

Design a user registration page. When the user enters the Registration Name, check whether the user name already exists. If yes, give a prompt

First, type index. php.

<Html> 

Welcome. php

<? Php header ("content-type: text/html; charset = gb2312"); // sleep (1); $ userId = $ _ GET ["userId"]; if ($ userId = "Administrator") {echo "user name already exists! ";}Else {echo" this user name can be registered ";}?>

I would like to introduce the knowledge of combining PHP and Ajax to implement the logon verification Demo. I hope it will be helpful to you!

Articles you may be interested in:
  • Php session application instance logon Verification
  • Php cookie logon verification sample code
  • Jquery ajax login verification implementation code
  • JQuery. ajax User Logon Verification Code
  • Php automatic login authentication mechanism implementation code
  • PHP code for session sharing and login verification through session id
  • S2SH integrates JQuery + Ajax to implement the login verification function and code
  • JQuery + AJAX: Mask Layer logon verification interface (with source code)
  • Ajax asynchronous login and Verification

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.