twittoris Posted September 4, 2010 Share Posted September 4, 2010 I have a list of names in a table and I am trying to search a website with each of these names. Can someone point me in the right direction if I want to POST each name to the site and use cURL to get the information(did this part already). Will a simple Loop or While command do the job? Quote Link to comment Share on other sites More sharing options...
s0c0 Posted September 11, 2010 Share Posted September 11, 2010 You will need to SELECT all names in the table and store them into an array. Then do a cURL and store the content returned in a string. Loop through your array and do a string search for each element in the array. Regex might be the faster string search in this case. Not sure waht you're really asking for, but that should do the trick. I have a list of names in a table and I am trying to search a website with each of these names. Can someone point me in the right direction if I want to POST each name to the site and use cURL to get the information(did this part already). Will a simple Loop or While command do the job? Quote Link to comment 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.