SofaDoc

SofaDoc Map Usage

inc/async.php

Provides a functions to execute an async request.
Used for cron to be executed after the index.php script returns to the client
Inspiration: https://mindsers.blog/fr/post/appel-dune-fonction-asynchrone-en-php/

Functions

swAsyncCurl($addr,$data)

swAsyncCron()

Functions

swAsyncCurl

Globals

$swBaseHrefFolder

Variables

$addr, $data, $errno, $errstr, $post_string, $swCronToken

Short variables: $fp, $out, $url

Features

file, json, str

Others

fsockopen, parse_url