daz1034 Posted April 25, 2007 Share Posted April 25, 2007 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 Link to comment https://forums.phpfreaks.com/topic/48648-how-do-i-make-a-simpel-sign-up-bot-thing-for-my-site/ Share on other sites More sharing options...
dsaba Posted April 25, 2007 Share Posted April 25, 2007 research the cURL library in php.net Link to comment https://forums.phpfreaks.com/topic/48648-how-do-i-make-a-simpel-sign-up-bot-thing-for-my-site/#findComment-238229 Share on other sites More sharing options...
kalivos Posted April 25, 2007 Share Posted April 25, 2007 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 Link to comment https://forums.phpfreaks.com/topic/48648-how-do-i-make-a-simpel-sign-up-bot-thing-for-my-site/#findComment-238240 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.