1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

URL Queries

Discussion in 'XenForo Development Discussions' started by Tom Christian, Nov 9, 2014.

  1. Tom Christian

    Tom Christian Active Member

    Does XenForo have a built in function to perform URL queries using fget / file_get_contents() ?
  2. Aayush

    Aayush Well-Known Member

    I don't think XenForo specifically has something like that but Zend Framework has a class called "Zend_Http_Client" which you can use to achieve the same thing. As XenForo is built on Zend framework, you can easily use that class.
  3. Aayush

    Aayush Well-Known Member

    I haven't really benchmarked it but I have read that Zend_Http_Client_Adapter_Curl performs faster.

Share This Page