Cheetah
Functions
ctrl.php File Reference

Go to the source code of this file.

Functions

if(!empty($_SERVER['HTTP_ORIGIN'])) if( $_SERVER['REQUEST_METHOD']=='OPTIONS') if(strtoupper($_SERVER['REQUEST_METHOD'])=='POST') fetchImages ($files, &$images, $name='file')
 

Function Documentation

◆ fetchImages()

if (!empty( $_SERVER[ 'HTTP_ORIGIN'])) if ($_SERVER[ 'REQUEST_METHOD']=='OPTIONS') if (strtoupper( $_SERVER[ 'REQUEST_METHOD'])=='POST') fetchImages (   $files,
$images,
  $name = 'file' 
)

FileAPI upload controller (example)

Definition at line 56 of file ctrl.php.