News:

Wondering if this will always be free?  See why free is better.

Main Menu

webrequests from SMF internal

Started by danielrichter, February 26, 2023, 08:52:32 AM

Previous topic - Next topic

danielrichter

Dear SMF devs,

is there already a library (if yes, where to find docs) included into SMF intended to be used to make webrequests or will I have to use "plain" curl / guzzle / whatever library I prefer to use?

thanks in advance!

Arantor

Simple function fetch_web_data will do for most basic needs, maybe look at the curl_fetch_web_data class if you want something a little more exotic.

But both are just wrappers around with fsockopen/curl as necessary.


Advertisement: