darkfreaks Posted January 19, 2010 Share Posted January 19, 2010 i want to build a script that uses a text file with certain usernames in it and compare it against the usernames on a site and if it returns "user does not exist" on the users page i want it to ignore it other wise display the username(s) using read and write functions and CURL. This is the search page format i want it to fetch all 20 pages but that can be changed i am sure simply. http://mysite.com/results.php?pg=1&sex=male&sortby=user_datejoined can anyone give me an example on how to do this? i am pretty much new with CURL Link to comment https://forums.phpfreaks.com/topic/188973-php-question/ Share on other sites More sharing options...
trq Posted January 19, 2010 Share Posted January 19, 2010 You wouldn't need curl unless you need to authenticate. Just read the file using file_get_contents. Link to comment https://forums.phpfreaks.com/topic/188973-php-question/#findComment-997800 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.