Jump to content

Recommended Posts

Posted

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...