Jamroom Logo Jamroom 5 Core
is now Open Source!
Follow Jamroom on Twitter!


jrCheckDisabled Function Index jrConfigReader
jrCallUrl

The jrCallUrl function is used in situations where we need to "call" another local script via a URL include, but don't want to depend on allow_url_fopen to be on on the local server. Note: this function relies on the "snoopy" library

  • return: Returns value of loaded URL, or false on failure
string jrCallUrl (string $uri, [array $_vars = false], [bool $offsite = false], [string $agent = false], [string $method = 'POST'], [bool $curl = false], [int $port = 80])
  • string $uri: Url to load
  • array $_vars: URI variables for URL
  • bool $offsite: True/False on whether to allow the URL to be a non-Jamroom URL (i.e. set to "true" to allow the URL to be offsite)
  • string $agent: User Agent to appear as (default is Jamroom Agent)
  • string $method: URL method (POST or GET)
  • bool $curl: True/False on whether to use optional cURL support
  • int $port: Remote Port to create socket connection to.
 Comments
You must be logged in to post a comment
Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom 5
Jamroom 5 Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2024 The Jamroom Network