script for batch adding users to a WordPress website.
DO NOT use in production environments.
This is just for testing purposes.
USE AT YOUR OWN RISK!
DO NOT BLAME ME IN CASE OF DAMAGES!!
original script seen on [worpress.stackexchange.com] 1
Modified but still not Idiot proof!! :-)
http://localhost/usersbatch.php?lock=0&site=wordpress&limit=N
In this example you'll create N users on the site http://localhost/wordpress
where N is the number you set, minus the id of the last user that you created on that site.
If you have just one user with id 1 the script will create N-1 users, while if you have one user with id 5 it will create N-5 users.
NOTICE:
If $limit
is smaller than the id of the latest user you created the script won't run.