Jump to content

how do i make a simpel sign up bot thing for my site


daz1034

Recommended Posts

hi am trying to make a simpel sign up bot for my web site (ie fake members )

 

what i need it to do

1st grab a user name (i was thinking from a text file at reandom )

2 in put a password (easyest way would be to use the same one)

3 confirm password

4 email ( i was think mabey have it Preset to @mydomain.com and grab say a number from a text file to go at the start)

 

5 is gender thats easy its preset

6 same with country

7 city again just grab one at reandem from a txt file

8 DOB this is where i get a bit stuck its 3 dif drop down boxes havent got a clue how to do that

 

9 upload a pic same havent got a clue

10 a tick box

11 submit

 

hope i have listed in a easy way to understand any help would be very gr8 full for

If this is for your site, I would recommend using another signup script all together. The new script would only parse out your text file and not accept any user input. It could parse out 1 line at a time and send that data to the database. Here's an example...

 

<?

$file = file('fake_logins.dat');

//connect to db here

foreach ($file as $line_num => $line) {
    $data = explode(":", $line);

    //do a db insert here
}

?>

 

This assumes a delimiter of ':'

 

Hope it helps,

-Kalivos

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.