U
U
Uzair Izha2015-09-30 11:00:53
PHP
Uzair Izha, 2015-09-30 11:00:53

I want to do ajax check for registration. Are there scripts available?

To check whether there is already such a login, for example, and so on.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Zelensky, 2015-09-30
@SergeyZelensky-Rostov

if you have cms for sure there is a plugin ready, if you write it yourself, then most likely you will have to write it yourself, specifically how to check for a login, then you fill in the login field on onchange weighs the function that ajax sends the login to the server the server in the database checks for a duplicate or not and sends a response , there is already one or everything is fine

M
Maxim Smirnov, 2015-09-30
@MaxiStyle

There are several lines of code, why do you need a ready-made script? Especially if you write from scratch.

I
Ilya Bobkov, 2015-09-30
@heksen

$.ajax
      ({
        url:  "server.php",
        data: {func: "AuthUser", login:$("#auth_login").val(),   password:$("#auth_password").val()},	      
        success: function( data )
        {	   	        
            // проверка
      var obj = jQuery.parseJSON( data );		
    }                
              }
      });

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question