The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Back End › How to pull content of the website using php?
I want to pull all the returned information from a website to php variable or array. Is it possible to do it? if it is please provide me the step by step code.
You can use PHP file_get_contents() function to get information from website. You wont be able to get array veriable directly from other website.
You can get only get HTML and you have to parse it to make array the way you want.
i found a better way!