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? Link to comment https://forums.phpfreaks.com/topic/212540-url-list-to-be-imported-into-curl-script/ 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? Link to comment https://forums.phpfreaks.com/topic/212540-url-list-to-be-imported-into-curl-script/#findComment-1109935 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.