Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Is there any method to signup to wordpress site from my html page.

So that the registered user details must fairly added to database table.

I mean the action must be similar to the process how we generally signup to wordpress cms.

Thank you.

share|improve this question
add comment

1 Answer

I'm not sure if it's what you want, but I got some hints from How to display Wordpress User Registration Form in front-end of the website? and Quick Tip: Making a Fancy WordPress Register Form from Scratch from Tutplus:

<?php
//add this to use wordpress functions outside wordpress
define( 'WP_USE_THEMES', false );        
require('wp-blog-header.php');           
?>

<html>
  <head></head>
  <body>
    <div id="register-form">  
        <div class="title">  
            <h1>Register your Account</h1>  
            <span>Sign Up with us and Enjoy!</span>  
        </div>  
            <form action="<?php echo site_url('wp-login.php?action=register', 'login_post') ?>" method="post">  
            <input type="text" name="user_login" value="Username" id="user_login" class="input" />  
            <input type="text" name="user_email" value="E-Mail" id="user_email" class="input"  />  
                <?php do_action('register_form'); ?>  
                <input type="submit" value="Register" id="register" />  
            </form>  
        </div>  
  </body>
</html>
share|improve this answer
    
Ya this is close to my requirement. But can you tell me what about the other parameters like user_pass,user_status,user_url etc. which are present in wp_user table?.. Also the password is encrypted so we need to apply some mechanism to convert plain text to cyphertext –  Rama raju dantuluri Dec 7 '12 at 10:31
    
You can define the New User Default Role at wp-admin/options-general.php. For the password encryption, you'll probably need to use a server with HTTPS. –  RRikesh Dec 7 '12 at 10:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.