mr_mind Posted January 11, 2008 Share Posted January 11, 2008 Alright here is what i need to do, I need to follow a page 30911 times with different post data everytime without needing to click a link 30911 times. The first difficult part (as far as i know) is sending post data to a page without creating a form and pressing submit 30911 times. The second difficult part is to send it to a page without actually going to the page Quote Link to comment https://forums.phpfreaks.com/topic/85469-30911/ Share on other sites More sharing options...
Ken2k7 Posted January 11, 2008 Share Posted January 11, 2008 What is with these weird codes? Define "follow a page." Quote Link to comment https://forums.phpfreaks.com/topic/85469-30911/#findComment-436134 Share on other sites More sharing options...
teng84 Posted January 11, 2008 Share Posted January 11, 2008 maybe ajax can do that Quote Link to comment https://forums.phpfreaks.com/topic/85469-30911/#findComment-436138 Share on other sites More sharing options...
mr_mind Posted January 11, 2008 Author Share Posted January 11, 2008 when i said foloow a page i meant send data to that page Quote Link to comment https://forums.phpfreaks.com/topic/85469-30911/#findComment-436141 Share on other sites More sharing options...
Ken2k7 Posted January 11, 2008 Share Posted January 11, 2008 Now define "The second difficult part is to send it to a page without actually going to the page" But AJAX would work, except I wouldn't know what event function to use for this case. Quote Link to comment https://forums.phpfreaks.com/topic/85469-30911/#findComment-436143 Share on other sites More sharing options...
cunoodle2 Posted January 11, 2008 Share Posted January 11, 2008 Read up on Curl. It can keep a session open for quite awhile. Can we also ask why you need to do this? It seems a little "spam-ish" or dos attack like to be totally honest with you. Quote Link to comment https://forums.phpfreaks.com/topic/85469-30911/#findComment-436145 Share on other sites More sharing options...
mr_mind Posted January 11, 2008 Author Share Posted January 11, 2008 sending information to my friends server because mine is going down and i will be using his, instead of using a mysql-dump i have gone through and changed the structure of the pages and the database so i need to submit it to that page and have that page insert it into the database in the correct fashion, Quote Link to comment https://forums.phpfreaks.com/topic/85469-30911/#findComment-436229 Share on other sites More sharing options...
Ken2k7 Posted January 11, 2008 Share Posted January 11, 2008 Would it not be easier to save the php file you used to create the database tables, and then use phpMyAdmin to just save all the data in your database in a zip file? That would save much more time. Quote Link to comment https://forums.phpfreaks.com/topic/85469-30911/#findComment-436234 Share on other sites More sharing options...
priti Posted January 11, 2008 Share Posted January 11, 2008 Alright here is what i need to do, I need to follow a page 30911 times with different post data everytime without needing to click a link 30911 times. The first difficult part (as far as i know) is sending post data to a page without creating a form and pressing submit 30911 times. The second difficult part is to send it to a page without actually going to the page I wil advice you to use CURL and post your data to this page without clicking on it.With this option you don't have to create form simplye query string which you have to assign to POSTFILED parameter. I would suggest you to read about this. Regards Quote Link to comment https://forums.phpfreaks.com/topic/85469-30911/#findComment-436314 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.