Forums

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?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33122
    xyzoblivion
    Member

    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.

    Regards,
    xyzoblivion

    #72867
    kalps1982
    Member

    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.

    #72798
    xyzoblivion
    Member
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.