Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
radoradovan Posted November 26, 2021 Posted November 26, 2021 I am trying to upload IMG file using internal IPS API and $_FILES php: <?php $_SERVER['SCRIPT_FILENAME'] = __FILE__; require_once 'init.php'; $init = \IPS\Session\Front::i(); $image = \IPS\Image::create( $_FILES['file']['tmp_name'] ); echo $image; ?> this sadly doesn't work, anyone know which API is used? thanks
Recommended Posts