angello Posted August 25, 2012 Share Posted August 25, 2012 Hi, i want to know how can i make a function in php that collects data from a webpage in a specific field or place of this web page and store it to use it again later in other place? thanks in advance for any help Link to comment https://forums.phpfreaks.com/topic/267569-how-to-obtain-data-from-a-webpage-and-store-it-to-use-it-again/ Share on other sites More sharing options...
Christian F. Posted August 25, 2012 Share Posted August 25, 2012 You create a function that reads the content of the file, finds the specific file (or place), reads the data you want, and then save it in a suitable location. cURL, strpos (), substr () and/or Regular Expressions is what you're looking at here, plus whatever functions are needed for the storing. Want specific help, then you'll have to post specific questions. Preferably with examples, as well as what you've attempted so far. Link to comment https://forums.phpfreaks.com/topic/267569-how-to-obtain-data-from-a-webpage-and-store-it-to-use-it-again/#findComment-1372392 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.