[wp-hackers] Script to create a bunch of dummy users?

Viper007Bond viper at viper007bond.com
Fri Feb 6 14:12:49 GMT 2009


<?php

require( 'wp-load.php' );

/* foreach or whatever */

$user_pass = wp_generate_password();
$user_id = wp_create_user( $user_login, $user_pass, $user_email );

/* end foreach */

?>

On Fri, Feb 6, 2009 at 5:41 AM, Mike Walsh <mike_walsh at mindspring.com>wrote:

> For a project I am working on I want to create a bunch of dummy user
> accounts (~100) in my development area.  Before I create a script to do
> this, I am wondering if anyone has done this before?  If so, can you share
> it?
>
>
>
> Mike
>
>
>
> --
>
> Mike Walsh - mike underscore walsh at mindspring dot com
>
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Viper007Bond | http://www.viper007bond.com/ | http://www.finalgear.com/


More information about the wp-hackers mailing list