ILIAS  Release_4_2_x_branch Revision 61807
 All Data Structures Namespaces Files Functions Variables Groups Pages
imgupload.php File Reference

Go to the source code of this file.

Variables

 $file = "../../../../../ilias.ini.php"
 $ini = new ilIniFile($file)
 $htdocs = "/"
 $weburl = "/"
 $installpath = $htdocs
 $iliasMobPath = "/mobs/"
 $iliasAbsolutePath = $htdocs
 $iliasHttpPath = $weburl
 $tinyMCE_base_url = "$weburl"
 $tinyMCE_DOC_url = "$installpath"
 $tinyMCE_valid_imgs = array('gif', 'jpg', 'jpeg', 'png')
 $tinyMCE_upload_allowed = true
 $tinyMCE_img_delete_allowed = false
 $_GET ["client_id"] = str_replace("..", "", $_GET["client_id"])
 $dir = getcwd()
 $mobs = ilSoapFunctions::getMobsOfObject($_GET["session_id"]."::".$_GET["client_id"], $_GET["obj_type"].":html", $_GET["obj_id"])
 $preview = ""
 $arr_tinyMCE_image_files = array()
 $request_uri = urldecode(empty($_POST['request_uri'])?(empty($_GET['request_uri'])?'':$_GET['request_uri']):$_POST['request_uri'])
 $img = isset($_POST['imglist'])? $_POST['imglist'] : ''
 $_root = $installpath
 $errors = array()
 $uploadedFile = false
if(isset($_FILES['img_file']['size'])&&$_FILES['img_file']['size']>0) $tpl = new HTML_Template_ITX()

Variable Documentation

$_GET["client_id"] = str_replace("..", "", $_GET["client_id"])

Definition at line 32 of file imgupload.php.

$_root = $installpath

Definition at line 43 of file imgupload.php.

$arr_tinyMCE_image_files = array()

Definition at line 40 of file imgupload.php.

$dir = getcwd()

Definition at line 34 of file imgupload.php.

$errors = array()

Definition at line 44 of file imgupload.php.

$file = "../../../../../ilias.ini.php"

Definition at line 5 of file imgupload.php.

$htdocs = "/"

Definition at line 8 of file imgupload.php.

$iliasAbsolutePath = $htdocs

Definition at line 14 of file imgupload.php.

$iliasHttpPath = $weburl

Definition at line 15 of file imgupload.php.

$iliasMobPath = "/mobs/"

Definition at line 13 of file imgupload.php.

$img = isset($_POST['imglist'])? $_POST['imglist'] : ''

Definition at line 42 of file imgupload.php.

$ini = new ilIniFile($file)

Definition at line 6 of file imgupload.php.

$installpath = $htdocs

Definition at line 10 of file imgupload.php.

$mobs = ilSoapFunctions::getMobsOfObject($_GET["session_id"]."::".$_GET["client_id"], $_GET["obj_type"].":html", $_GET["obj_id"])

Definition at line 37 of file imgupload.php.

$preview = ""

Definition at line 39 of file imgupload.php.

$request_uri = urldecode(empty($_POST['request_uri'])?(empty($_GET['request_uri'])?'':$_GET['request_uri']):$_POST['request_uri'])

Definition at line 41 of file imgupload.php.

$tinyMCE_base_url = "$weburl"

Definition at line 17 of file imgupload.php.

$tinyMCE_DOC_url = "$installpath"

Definition at line 19 of file imgupload.php.

$tinyMCE_img_delete_allowed = false

Definition at line 30 of file imgupload.php.

$tinyMCE_upload_allowed = true

Definition at line 27 of file imgupload.php.

$tinyMCE_valid_imgs = array('gif', 'jpg', 'jpeg', 'png')

Definition at line 24 of file imgupload.php.

if (isset($_FILES['img_file']['size'])&&$_FILES['img_file']['size']>0) $tpl = new HTML_Template_ITX()

Definition at line 68 of file imgupload.php.

$uploadedFile = false

Definition at line 47 of file imgupload.php.

$weburl = "/"

Definition at line 9 of file imgupload.php.