Vytas Posted November 28, 2009 Share Posted November 28, 2009 Hello all, I'm quite new to curl and i decided to write a script to begin with, i want to do script which automates voting and extracts text from html response. The thing is, when you vote with a browser, in that page there's javascript and shows if it's correct vote or not. I just don't know how to work with javascript and curl. Maybe someone could see my script and tell me if i'm doing it right? http://pastie.org/718522 Thank you for you help! Quote Link to comment https://forums.phpfreaks.com/topic/183248-curl-script-and-get-response/ Share on other sites More sharing options...
waynew Posted November 28, 2009 Share Posted November 28, 2009 JavaScript will always need to interact with a file that will handle server-side actions. This is most likely an Ajax poll. You'll need to read the source code and figure out what file this javascript is accessing, you big hacker, you. Quote Link to comment https://forums.phpfreaks.com/topic/183248-curl-script-and-get-response/#findComment-967161 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.